Package org.bremersee.exception
Class RestApiExceptionParserAutoConfiguration
- java.lang.Object
-
- org.bremersee.exception.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 Summary
Constructors Constructor Description RestApiExceptionParserAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
Init.RestApiExceptionParser
restApiExceptionParser(org.springframework.beans.factory.ObjectProvider<org.springframework.http.converter.json.Jackson2ObjectMapperBuilder> objectMapperBuilderProvider)
Rest api exception parser rest api exception parser.
-
-
-
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
-
-