public class Jackson2JsonDecoder extends AbstractJackson2Decoder
Jackson2JsonEncoder
JSON_VIEW_HINT, logger
Constructor and Description |
---|
Jackson2JsonDecoder() |
Jackson2JsonDecoder(ObjectMapper mapper,
MimeType... mimeTypes) |
Modifier and Type | Method and Description |
---|---|
protected reactor.core.publisher.Flux<DataBuffer> |
processInput(org.reactivestreams.Publisher<DataBuffer> input,
ResolvableType elementType,
MimeType mimeType,
Map<String,Object> hints)
Process the input publisher into a flux.
|
canDecode, decode, decode, decodeToMono, getAnnotation, getDecodableMimeTypes, getDecodeHints, getMaxInMemorySize, setMaxInMemorySize
getHints, getJavaType, getMimeTypes, getObjectMapper, getParameter, logWarningIfNecessary, supportsMimeType
public Jackson2JsonDecoder()
public Jackson2JsonDecoder(ObjectMapper mapper, MimeType... mimeTypes)
protected reactor.core.publisher.Flux<DataBuffer> processInput(org.reactivestreams.Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String,Object> hints)
AbstractJackson2Decoder
Flux.from(Publisher)
, but subclasses can choose to customize
this behavior.processInput
in class AbstractJackson2Decoder
input
- the DataBuffer
input stream to processelementType
- the expected type of elements in the output streammimeType
- the MIME type associated with the input stream (optional)hints
- additional information about how to do encode