public class Jackson2CborDecoder extends AbstractJackson2Decoder
Jackson2CborEncoder,
Add CBOR support to WebFluxJSON_VIEW_HINT, logger| Constructor and Description |
|---|
Jackson2CborDecoder() |
Jackson2CborDecoder(ObjectMapper mapper,
MimeType... mimeTypes) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<Object> |
decode(org.reactivestreams.Publisher<DataBuffer> input,
ResolvableType elementType,
MimeType mimeType,
Map<String,Object> hints)
Decode a
DataBuffer input stream into a Flux of T. |
canDecode, decode, decodeToMono, getAnnotation, getDecodableMimeTypes, getDecodableMimeTypes, getDecodeHints, getMaxInMemorySize, processInput, setMaxInMemorySizegetHints, getJavaType, getMimeTypes, getMimeTypes, getObjectMapper, getObjectMapperRegistrations, getObjectMappersForType, getParameter, logWarningIfNecessary, registerObjectMappersForType, selectObjectMapper, setObjectMapper, supportsMimeTypepublic Jackson2CborDecoder()
public Jackson2CborDecoder(ObjectMapper mapper, MimeType... mimeTypes)
public reactor.core.publisher.Flux<Object> decode(org.reactivestreams.Publisher<DataBuffer> input, ResolvableType elementType, MimeType mimeType, Map<String,Object> hints)
DecoderDataBuffer input stream into a Flux of T.decode in interface Decoder<Object>decode in class AbstractJackson2Decoderinput - the DataBuffer input stream to decodeelementType - the expected type of elements in the output stream;
this type must have been previously passed to the Decoder.canDecode(org.springframework.core.ResolvableType, org.springframework.util.MimeType)
method and it must have returned true.mimeType - the MIME type associated with the input stream (optional)hints - additional information about how to do decode