Class Jackson2CborDecoder
java.lang.Object
org.springframework.http.codec.json.Jackson2CodecSupport
org.springframework.http.codec.json.AbstractJackson2Decoder
org.springframework.http.codec.cbor.Jackson2CborDecoder
- All Implemented Interfaces:
org.springframework.core.codec.Decoder<Object>,HttpMessageDecoder<Object>
@Deprecated(since="7.0",
forRemoval=true)
public class Jackson2CborDecoder
extends AbstractJackson2Decoder
Deprecated, for removal: This API element is subject to removal in a future version.
Decode bytes into CBOR and convert to Object's with Jackson 2.x.
Stream decoding is not supported yet.
- Since:
- 5.2
- Author:
- Sebastien Deleuze
- See Also:
-
Field Summary
Fields inherited from class org.springframework.http.codec.json.Jackson2CodecSupport
JSON_VIEW_HINT, logger -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Jackson2CborDecoder(com.fasterxml.jackson.databind.ObjectMapper mapper, org.springframework.util.MimeType... mimeTypes) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<Object> decode(Publisher<org.springframework.core.io.buffer.DataBuffer> input, org.springframework.core.ResolvableType elementType, @Nullable org.springframework.util.MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.springframework.http.codec.json.AbstractJackson2Decoder
canDecode, customizeReader, decode, decodeToMono, getAnnotation, getDecodableMimeTypes, getDecodableMimeTypes, getDecodeHints, getMaxInMemorySize, processInput, setMaxInMemorySizeMethods inherited from class org.springframework.http.codec.json.Jackson2CodecSupport
getHints, getJavaType, getMediaTypesForProblemDetail, getMimeTypes, getMimeTypes, getObjectMapper, getObjectMapperRegistrations, getObjectMappersForType, getParameter, logWarningIfNecessary, registerObjectMappersForType, selectObjectMapper, setObjectMapper, supportsMimeType
-
Constructor Details
-
Jackson2CborDecoder
public Jackson2CborDecoder()Deprecated, for removal: This API element is subject to removal in a future version. -
Jackson2CborDecoder
public Jackson2CborDecoder(com.fasterxml.jackson.databind.ObjectMapper mapper, org.springframework.util.MimeType... mimeTypes) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
decode
public reactor.core.publisher.Flux<Object> decode(Publisher<org.springframework.core.io.buffer.DataBuffer> input, org.springframework.core.ResolvableType elementType, @Nullable org.springframework.util.MimeType mimeType, @Nullable Map<String, Object> hints) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
decodein interfaceorg.springframework.core.codec.Decoder<Object>- Overrides:
decodein classAbstractJackson2Decoder
-
JacksonCborDecoder