@Component public class ObjectMapperCache extends Object
This class contains cached list of ObjectMappers which used in AbstractHttpMessageConverter.write(Object, MediaType, HttpOutputMessage)
| Constructor and Description |
|---|
ObjectMapperCache() |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.ObjectMapper |
findObjectMapper(MethodParameterDetails item)
Find ObjectMapper by MethodParameterDetails
|
ObjectMapperCache |
setFilterConfiguration(FilterConfiguration filterConfiguration)
Set of FilterConfiguration
|
@Autowired public ObjectMapperCache setFilterConfiguration(FilterConfiguration filterConfiguration)
filterConfiguration - FilterConfigurationObjectMapperCachepublic com.fasterxml.jackson.databind.ObjectMapper findObjectMapper(MethodParameterDetails item)
item - MethodParameterDetailsObjectMapperCopyright © 2019. All rights reserved.