Class Jackson2JsonDecoder
java.lang.Object
org.springframework.http.codec.json.Jackson2CodecSupport
org.springframework.http.codec.json.AbstractJackson2Decoder
org.springframework.http.codec.json.Jackson2JsonDecoder
- All Implemented Interfaces:
- Decoder<Object>, HttpMessageDecoder<Object>
@Deprecated(since="7.0",
            forRemoval=true)
public class Jackson2JsonDecoder
extends AbstractJackson2Decoder
Deprecated, for removal: This API element is subject to removal in a future version.
Decode a byte stream into JSON and convert to Object's with Jackson 2.x,
leveraging non-blocking parsing.
- Since:
- 5.0
- Author:
- Sebastien Deleuze, Rossen Stoyanchev
- See Also:
- 
Field SummaryFields inherited from class Jackson2CodecSupportJSON_VIEW_HINT, logger
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Jackson2JsonDecoder(com.fasterxml.jackson.databind.ObjectMapper mapper, MimeType... mimeTypes) Deprecated, for removal: This API element is subject to removal in a future version.
- 
Method SummaryModifier and TypeMethodDescriptionprotected reactor.core.publisher.Flux<DataBuffer> processInput(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.Process the input publisher into a flux.Methods inherited from class AbstractJackson2DecodercanDecode, customizeReader, decode, decode, decodeToMono, getAnnotation, getDecodableMimeTypes, getDecodableMimeTypes, getDecodeHints, getMaxInMemorySize, setMaxInMemorySizeMethods inherited from class Jackson2CodecSupportgetHints, getJavaType, getMediaTypesForProblemDetail, getMimeTypes, getMimeTypes, getObjectMapper, getObjectMapperRegistrations, getObjectMappersForType, getParameter, logWarningIfNecessary, registerObjectMappersForType, selectObjectMapper, setObjectMapper, supportsMimeType
- 
Constructor Details- 
Jackson2JsonDecoderpublic Jackson2JsonDecoder()Deprecated, for removal: This API element is subject to removal in a future version.
- 
Jackson2JsonDecoderpublic Jackson2JsonDecoder(com.fasterxml.jackson.databind.ObjectMapper mapper, MimeType... mimeTypes) Deprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Method Details- 
processInputprotected reactor.core.publisher.Flux<DataBuffer> processInput(Publisher<DataBuffer> input, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractJackson2DecoderProcess the input publisher into a flux. Default implementation returnsFlux.from(Publisher), but subclasses can choose to customize this behavior.- Overrides:
- processInputin class- AbstractJackson2Decoder
- Parameters:
- input- the- DataBufferinput stream to process
- elementType- the expected type of elements in the output stream
- mimeType- the MIME type associated with the input stream (optional)
- hints- additional information about how to do encode
- Returns:
- the processed flux
 
 
- 
AbstractJacksonDecoder