Class MappingJacksonValue
java.lang.Object
org.springframework.http.converter.json.MappingJacksonValue
Deprecated, for removal: This API element is subject to removal in a future version.
A simple holder for the POJO to serialize via
 
MappingJackson2HttpMessageConverter along with further
 serialization instructions to be passed in to the converter.
 On the server side this wrapper is added with a
 ResponseBodyInterceptor after content negotiation selects the
 converter to use but before the write.
 
On the client side, simply wrap the POJO and pass it in to the
 RestTemplate.
- Since:
 - 4.1
 - Author:
 - Rossen Stoyanchev
 
- 
Constructor Summary
ConstructorsConstructorDescriptionMappingJacksonValue(Object value) Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance wrapping the given POJO to be serialized. - 
Method Summary
Modifier and TypeMethodDescription@Nullable com.fasterxml.jackson.databind.ser.FilterProviderDeprecated, for removal: This API element is subject to removal in a future version.Return the Jackson filter provider to use.Deprecated, for removal: This API element is subject to removal in a future version.Return the serialization view to use.getValue()Deprecated, for removal: This API element is subject to removal in a future version.Return the POJO that needs to be serialized.voidsetFilters(@Nullable com.fasterxml.jackson.databind.ser.FilterProvider filters) Deprecated, for removal: This API element is subject to removal in a future version.Set the Jackson filter provider to serialize the POJO with.voidsetSerializationView(@Nullable Class<?> serializationView) Deprecated, for removal: This API element is subject to removal in a future version.Set the serialization view to serialize the POJO with.voidDeprecated, for removal: This API element is subject to removal in a future version.Modify the POJO to serialize. 
- 
Constructor Details
- 
MappingJacksonValue
Deprecated, for removal: This API element is subject to removal in a future version.Create a new instance wrapping the given POJO to be serialized.- Parameters:
 value- the Object to be serialized
 
 - 
 - 
Method Details
- 
setValue
Deprecated, for removal: This API element is subject to removal in a future version.Modify the POJO to serialize. - 
getValue
Deprecated, for removal: This API element is subject to removal in a future version.Return the POJO that needs to be serialized. - 
setSerializationView
 - 
getSerializationView
 - 
setFilters
Deprecated, for removal: This API element is subject to removal in a future version.Set the Jackson filter provider to serialize the POJO with.- Since:
 - 4.2
 - See Also:
 
 - 
getFilters
Deprecated, for removal: This API element is subject to removal in a future version.Return the Jackson filter provider to use.- Since:
 - 4.2
 - See Also:
 
 
 - 
 
SmartHttpMessageConverterhints