public class Jackson2SmileEncoder extends AbstractJackson2Encoder
Object
stream to a byte stream of Smile objects using Jackson 2.9.
For non-streaming use cases, Flux
elements are collected into a List
before serialization for performance reason.Jackson2SmileDecoder
streamingMediaTypes
JSON_VIEW_HINT
Constructor and Description |
---|
Jackson2SmileEncoder() |
Jackson2SmileEncoder(ObjectMapper mapper,
MimeType... mimeTypes) |
Modifier and Type | Method and Description |
---|---|
java.util.List<MimeType> |
getEncodableMimeTypes()
Return the list of mime types this encoder supports.
|
canEncode, customizeWriter, encode, getAnnotation, getEncodeHints, getStreamingMediaTypes, setStreamingMediaTypes
getHints, getJavaType, getMimeTypes, getObjectMapper, getParameter, supportsMimeType
public Jackson2SmileEncoder()
public Jackson2SmileEncoder(ObjectMapper mapper, MimeType... mimeTypes)