Uses of Interface
org.springframework.core.codec.Decoder
Package
Description
CBOR encoder and decoder support.
JSON encoder and decoder support.
Provides an encoder and a decoder for
Google Protocol Buffers.
XML encoder and decoder support.
Support classes for working with annotated message-handling methods with
non-blocking, reactive contracts.
Support for the RSocket protocol.
Support classes for working with annotated RSocket stream handling methods.
-
Uses of Decoder in org.springframework.core.codec
Modifier and TypeClassDescriptionclass
AbstractCharSequenceDecoder<T extends CharSequence>
Abstract base class that decodes from a data buffer stream to aCharSequence
stream.class
Abstract base class forDecoder
implementations that can decode aDataBuffer
directly to the target element type.class
Abstract base class forDecoder
implementations.class
Decoder forbyte
arrays.class
Decoder forByteBuffers
.final class
Decode from a data buffer stream to aCharBuffer
stream, either splitting or aggregating incoming data chunks to realign along newlines delimiters and produce a stream of char buffers.class
Simple pass-through decoder forDataBuffers
.class
Decoder forBuffers
.class
Decoder forByteBufs
.class
Decoder forResources
.final class
Decode from a data buffer stream to aString
stream, either splitting or aggregating incoming data chunks to realign along newlines delimiters and produce a stream of strings. -
Uses of Decoder in org.springframework.http.codec
Modifier and TypeInterfaceDescriptioninterface
Extension ofDecoder
exposing extra methods relevant in the context of HTTP request or response body decoding.Modifier and TypeClassDescriptionclass
KotlinSerializationBinaryDecoder<T extends kotlinx.serialization.BinaryFormat>
Abstract base class forDecoder
implementations that defer to Kotlin binary serializers.class
KotlinSerializationStringDecoder<T extends kotlinx.serialization.StringFormat>
Abstract base class forDecoder
implementations that defer to Kotlin string serializers.Modifier and TypeMethodDescriptionDecoderHttpMessageReader.getDecoder()
Return theDecoder
of this reader.Decoder<?>
ServerSentEventHttpMessageReader.getDecoder()
Return the configuredDecoder
.Modifier and TypeMethodDescriptionvoid
Deprecated.void
CodecConfigurer.DefaultCodecs.jackson2JsonDecoder
(Decoder<?> decoder) Override the default Jackson JSONDecoder
.void
CodecConfigurer.DefaultCodecs.jackson2SmileDecoder
(Decoder<?> decoder) Override the default Jackson SmileDecoder
.void
CodecConfigurer.DefaultCodecs.jaxb2Decoder
(Decoder<?> decoder) Override the default JAXB2Decoder
.void
CodecConfigurer.DefaultCodecs.kotlinSerializationCborDecoder
(Decoder<?> decoder) Override the default Kotlin Serialization CBORDecoder
.void
CodecConfigurer.DefaultCodecs.kotlinSerializationJsonDecoder
(Decoder<?> decoder) Override the default Kotlin Serialization JSONDecoder
.void
CodecConfigurer.DefaultCodecs.kotlinSerializationProtobufDecoder
(Decoder<?> decoder) Override the default Kotlin Serialization ProtobufDecoder
.void
CodecConfigurer.DefaultCodecs.protobufDecoder
(Decoder<?> decoder) Override the default ProtobufDecoder
.void
ClientCodecConfigurer.ClientDefaultCodecs.serverSentEventDecoder
(Decoder<?> decoder) Configure theDecoder
to use for Server-Sent Events.ModifierConstructorDescriptionDecoderHttpMessageReader
(Decoder<T> decoder) Create an instance wrapping the givenDecoder
.ServerSentEventHttpMessageReader
(Decoder<?> decoder) Constructor with JSONDecoder
for decoding to Objects. -
Uses of Decoder in org.springframework.http.codec.cbor
Modifier and TypeClassDescriptionclass
Decode bytes into CBOR and convert to Object's with Jackson.class
Decode a byte stream into CBOR and convert to Objects with kotlinx.serialization. -
Uses of Decoder in org.springframework.http.codec.json
Modifier and TypeClassDescriptionclass
Abstract base class for Jackson 2.x decoding, leveraging non-blocking parsing.class
Decode a byte stream into JSON and convert to Object's with Jackson 2.x, leveraging non-blocking parsing.class
Decode a byte stream into Smile and convert to Object's with Jackson 2.x, leveraging non-blocking parsing.class
Decode a byte stream into JSON and convert to Object's with kotlinx.serialization. -
Uses of Decoder in org.springframework.http.codec.protobuf
Modifier and TypeClassDescriptionclass
Decode a byte stream into a protocol Buffer and convert to Objects with kotlinx.serialization.class
-
Uses of Decoder in org.springframework.http.codec.xml
Modifier and TypeClassDescriptionclass
Decode from a bytes stream containing XML elements to a stream ofObject
s (POJOs).class
Decodes aDataBuffer
stream into a stream ofXMLEvents
. -
Uses of Decoder in org.springframework.messaging.handler.annotation.reactive
Modifier and TypeMethodDescriptionMessageMappingMessageHandler.getDecoders()
Return the configured decoders.PayloadMethodArgumentResolver.getDecoders()
Return a read-only list of the configured decoders.Modifier and TypeMethodDescriptionvoid
MessageMappingMessageHandler.setDecoders
(List<? extends Decoder<?>> decoders) Configure the decoders to use for incoming payloads.ModifierConstructorDescriptionPayloadMethodArgumentResolver
(List<? extends Decoder<?>> decoders, Validator validator, ReactiveAdapterRegistry registry, boolean useDefaultResolution) -
Uses of Decoder in org.springframework.messaging.rsocket
Modifier and TypeMethodDescriptiondefault <T> Decoder<T>
RSocketStrategies.decoder
(ResolvableType elementType, MimeType mimeType) Find a compatible Decoder for the given element type.Modifier and TypeMethodDescriptionRSocketStrategies.decoders()
Return the configureddecoders
.DefaultMetadataExtractor.getDecoders()
Return a read-only list with the configured decoders.Modifier and TypeMethodDescriptionAppend to the list of decoders to use for de-serializing Objects from the data or metadata of aPayload
.Modifier and TypeMethodDescriptionApply the consumer to the list of configured decoders, immediately.ModifierConstructorDescriptionDefaultMetadataExtractor
(Decoder<?>... decoders) Constructor with decoders for de-serializing metadata entries.ModifierConstructorDescriptionDefaultMetadataExtractor
(List<Decoder<?>> decoders) Constructor with list of decoders for de-serializing metadata entries. -
Uses of Decoder in org.springframework.messaging.rsocket.annotation.support
Modifier and TypeMethodDescriptionvoid
RSocketMessageHandler.setDecoders
(List<? extends Decoder<?>> decoders) Configure the decoders to use for incoming payloads.
CodecConfigurer.CustomCodecs.register(Object)
orCodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object)
instead.