Class RestApiExceptionParserAutoConfiguration


  • @ConditionalOnClass(org.springframework.http.converter.json.Jackson2ObjectMapperBuilder.class)
    @Configuration
    public class RestApiExceptionParserAutoConfiguration
    extends Object
    The rest api exception parser auto configuration.
    Author:
    Christian Bremer
    • Constructor Detail

      • RestApiExceptionParserAutoConfiguration

        public RestApiExceptionParserAutoConfiguration()
    • Method Detail

      • init

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

        @Bean
        public RestApiExceptionParser restApiExceptionParser​(org.springframework.beans.factory.ObjectProvider<org.springframework.http.converter.json.Jackson2ObjectMapperBuilder> objectMapperBuilderProvider)
        Rest api exception parser rest api exception parser.
        Parameters:
        objectMapperBuilderProvider - the object mapper builder provider
        Returns:
        the rest api exception parser