Class JacksonSmileHttpMessageConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<Object>
org.springframework.http.converter.AbstractSmartHttpMessageConverter<Object>
org.springframework.http.converter.AbstractJacksonHttpMessageConverter<tools.jackson.dataformat.smile.SmileMapper>
org.springframework.http.converter.smile.JacksonSmileHttpMessageConverter
- All Implemented Interfaces:
- HttpMessageConverter<Object>, SmartHttpMessageConverter<Object>
public class JacksonSmileHttpMessageConverter
extends AbstractJacksonHttpMessageConverter<tools.jackson.dataformat.smile.SmileMapper>
Implementation of 
HttpMessageConverter
that can read and write Smile data format ("binary JSON") using
the dedicated Jackson 3.x extension.
By default, this converter supports "application/x-jackson-smile"
media type. This can be overridden by setting the
supportedMediaTypes property.
The following hints entries are supported:
- A JSON view with a "com.fasterxml.jackson.annotation.JsonView"key and the class name of the JSON view as value.
- A filter provider with a "tools.jackson.databind.ser.FilterProvider"key and the filter provider class name as value.
- Since:
- 7.0
- Author:
- Sebastien Deleuze
- 
Field SummaryFields inherited from class AbstractJacksonHttpMessageConverterdefaultMapperFields inherited from class AbstractHttpMessageConverterlogger
- 
Constructor SummaryConstructorsConstructorDescriptionConstruct a new instance with aSmileMappercustomized with theJacksonModules found byMapperBuilder.findModules(ClassLoader).JacksonSmileHttpMessageConverter(tools.jackson.dataformat.smile.SmileMapper mapper) Construct a new instance with the providedSmileMapper.JacksonSmileHttpMessageConverter(tools.jackson.dataformat.smile.SmileMapper.Builder builder) Construct a new instance with the providedSmileMappercustomized with theJacksonModules found byMapperBuilder.findModules(ClassLoader).
- 
Method SummaryMethods inherited from class AbstractJacksonHttpMessageConvertercanRead, canWrite, customizeReader, customizeWriter, getCharset, getJavaType, getJsonEncoding, getMapper, getMappersForType, getMediaTypesForProblemDetail, getSupportedMediaTypes, read, readInternal, registerMappersForType, setSupportedMediaTypes, supportsRepeatableWrites, writeInternal, writePrefix, writeSuffixMethods inherited from class AbstractSmartHttpMessageConvertercanWrite, supports, write, writeInternalMethods inherited from class AbstractHttpMessageConverteraddDefaultHeaders, canRead, canRead, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, writeMethods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface HttpMessageConvertergetSupportedMediaTypesMethods inherited from interface SmartHttpMessageConvertercanRead, read, write
- 
Constructor Details- 
JacksonSmileHttpMessageConverterpublic JacksonSmileHttpMessageConverter()Construct a new instance with aSmileMappercustomized with theJacksonModules found byMapperBuilder.findModules(ClassLoader).
- 
JacksonSmileHttpMessageConverterpublic JacksonSmileHttpMessageConverter(tools.jackson.dataformat.smile.SmileMapper.Builder builder) Construct a new instance with the providedSmileMappercustomized with theJacksonModules found byMapperBuilder.findModules(ClassLoader).- See Also:
 
- 
JacksonSmileHttpMessageConverterpublic JacksonSmileHttpMessageConverter(tools.jackson.dataformat.smile.SmileMapper mapper) Construct a new instance with the providedSmileMapper.- See Also:
 
 
-