Class RestApiExceptionParserForWebFluxAutoConfiguration

java.lang.Object
org.bremersee.exception.spring.boot.autoconfigure.reactive.RestApiExceptionParserForWebFluxAutoConfiguration

@ConditionalOnWebApplication(type=REACTIVE) @ConditionalOnClass(name={"com.fasterxml.jackson.databind.ObjectMapper","org.springframework.http.converter.json.Jackson2ObjectMapperBuilder","org.bremersee.exception.RestApiExceptionParserImpl"}) @AutoConfiguration public class RestApiExceptionParserForWebFluxAutoConfiguration extends Object
The rest api exception parser autoconfiguration.
Author:
Christian Bremer
  • Constructor Details

    • RestApiExceptionParserForWebFluxAutoConfiguration

      public RestApiExceptionParserForWebFluxAutoConfiguration()
  • Method Details

    • init

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

      @ConditionalOnWebApplication(type=REACTIVE) @ConditionalOnMissingBean @Bean public RestApiExceptionParser restApiExceptionParser(org.springframework.beans.factory.ObjectProvider<org.springframework.http.converter.json.Jackson2ObjectMapperBuilder> objectMapperBuilderProvider)
      Creates rest api exception parser for reactive web application.
      Parameters:
      objectMapperBuilderProvider - the object mapper builder provider
      Returns:
      the rest api exception parser