public class Jackson2JsonDecoder extends AbstractJackson2Decoder
Jackson2JsonEncoderJSON_VIEW_HINT, logger| Constructor and Description |
|---|
Jackson2JsonDecoder() |
Jackson2JsonDecoder(ObjectMapper mapper,
org.springframework.util.MimeType... mimeTypes) |
| Modifier and Type | Method and Description |
|---|---|
protected reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> |
processInput(Publisher<org.springframework.core.io.buffer.DataBuffer> input,
org.springframework.core.ResolvableType elementType,
org.springframework.util.MimeType mimeType,
Map<String,Object> hints)
Process the input publisher into a flux.
|
canDecode, decode, decode, decodeToMono, getAnnotation, getDecodableMimeTypes, getDecodableMimeTypes, getDecodeHints, getMaxInMemorySize, setMaxInMemorySizegetHints, getJavaType, getMimeTypes, getMimeTypes, getObjectMapper, getObjectMapperRegistrations, getObjectMappersForType, getParameter, logWarningIfNecessary, registerObjectMappersForType, selectObjectMapper, setObjectMapper, supportsMimeTypepublic Jackson2JsonDecoder()
public Jackson2JsonDecoder(ObjectMapper mapper, org.springframework.util.MimeType... mimeTypes)
protected reactor.core.publisher.Flux<org.springframework.core.io.buffer.DataBuffer> processInput(Publisher<org.springframework.core.io.buffer.DataBuffer> input, org.springframework.core.ResolvableType elementType, @Nullable org.springframework.util.MimeType mimeType, @Nullable Map<String,Object> hints)
AbstractJackson2DecoderFlux.from(Publisher), but subclasses can choose to customize
this behavior.processInput in class AbstractJackson2Decoderinput - 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