Class FeignClientExceptionErrorDecoderAutoConfiguration

java.lang.Object
org.bremersee.exception.spring.boot.autoconfigure.servlet.FeignClientExceptionErrorDecoderAutoConfiguration

@ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(name={"com.fasterxml.jackson.databind.ObjectMapper","org.bremersee.exception.feign.FeignClientExceptionErrorDecoder"}) @AutoConfigureAfter(RestApiExceptionParserForWebAutoConfiguration.class) @AutoConfiguration public class FeignClientExceptionErrorDecoderAutoConfiguration extends Object
The feign client exception error decoder autoconfiguration.
Author:
Christian Bremer
  • Constructor Details

    • FeignClientExceptionErrorDecoderAutoConfiguration

      public FeignClientExceptionErrorDecoderAutoConfiguration()
  • Method Details

    • init

      @EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void init()
      Init.
    • feignClientExceptionErrorDecoder

      @ConditionalOnMissingBean @Bean public FeignClientExceptionErrorDecoder feignClientExceptionErrorDecoder(org.springframework.beans.factory.ObjectProvider<RestApiExceptionParser> parserProvider)
      Creates feign client exception error decoder bean.
      Parameters:
      parserProvider - the parser provider
      Returns:
      the feign client exception error decoder