@Configuration @ConditionalOnClass(value=com.fasterxml.jackson.databind.ObjectMapper.class) @EnableConfigurationProperties(value=HttpMapperProperties.class) protected static class HttpMessageConvertersAutoConfiguration.ObjectMappers extends Object
Modifier | Constructor and Description |
---|---|
protected |
HttpMessageConvertersAutoConfiguration.ObjectMappers() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
com.fasterxml.jackson.databind.ObjectMapper |
jacksonObjectMapper() |
MappingJackson2HttpMessageConverter |
mappingJackson2HttpMessageConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
protected HttpMessageConvertersAutoConfiguration.ObjectMappers()
@PostConstruct public void init()
@Bean @ConditionalOnMissingBean @Primary public com.fasterxml.jackson.databind.ObjectMapper jacksonObjectMapper()
@Bean @ConditionalOnMissingBean public MappingJackson2HttpMessageConverter mappingJackson2HttpMessageConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.