Uses of Interface
org.springframework.core.codec.Decoder
Packages that use 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
Classes in org.springframework.core.codec that implement DecoderModifier 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
Subinterfaces of Decoder in org.springframework.http.codecModifier and TypeInterfaceDescriptioninterface
Extension ofDecoder
exposing extra methods relevant in the context of HTTP request or response body decoding.Classes in org.springframework.http.codec that implement DecoderModifier 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.Methods in org.springframework.http.codec that return DecoderModifier and TypeMethodDescriptionDecoderHttpMessageReader.getDecoder()
Return theDecoder
of this reader.Decoder<?>
ServerSentEventHttpMessageReader.getDecoder()
Return the configuredDecoder
.Methods in org.springframework.http.codec with parameters of type DecoderModifier 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.Constructors in org.springframework.http.codec with parameters of type DecoderModifierConstructorDescriptionDecoderHttpMessageReader
(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
Classes in org.springframework.http.codec.cbor that implement DecoderModifier 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
Classes in org.springframework.http.codec.json that implement DecoderModifier 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
Classes in org.springframework.http.codec.protobuf that implement DecoderModifier and TypeClassDescriptionclass
Decode a byte stream into a protocol Buffer and convert to Objects with kotlinx.serialization.class
class
-
Uses of Decoder in org.springframework.http.codec.xml
Classes in org.springframework.http.codec.xml that implement DecoderModifier 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
Methods in org.springframework.messaging.handler.annotation.reactive that return types with arguments of type DecoderModifier and TypeMethodDescriptionMessageMappingMessageHandler.getDecoders()
Return the configured decoders.PayloadMethodArgumentResolver.getDecoders()
Return a read-only list of the configured decoders.Method parameters in org.springframework.messaging.handler.annotation.reactive with type arguments of type DecoderModifier and TypeMethodDescriptionvoid
MessageMappingMessageHandler.setDecoders
(List<? extends Decoder<?>> decoders) Configure the decoders to use for incoming payloads.Constructor parameters in org.springframework.messaging.handler.annotation.reactive with type arguments of type DecoderModifierConstructorDescriptionPayloadMethodArgumentResolver
(List<? extends Decoder<?>> decoders, Validator validator, ReactiveAdapterRegistry registry, boolean useDefaultResolution) -
Uses of Decoder in org.springframework.messaging.rsocket
Methods in org.springframework.messaging.rsocket that return DecoderModifier and TypeMethodDescriptiondefault <T> Decoder<T>
RSocketStrategies.decoder
(ResolvableType elementType, MimeType mimeType) Find a compatible Decoder for the given element type.Methods in org.springframework.messaging.rsocket that return types with arguments of type DecoderModifier and TypeMethodDescriptionRSocketStrategies.decoders()
Return the configureddecoders
.DefaultMetadataExtractor.getDecoders()
Return a read-only list with the configured decoders.Methods in org.springframework.messaging.rsocket with parameters of type DecoderModifier and TypeMethodDescriptionAppend to the list of decoders to use for de-serializing Objects from the data or metadata of aPayload
.Method parameters in org.springframework.messaging.rsocket with type arguments of type DecoderModifier and TypeMethodDescriptionApply the consumer to the list of configured decoders, immediately.Constructors in org.springframework.messaging.rsocket with parameters of type DecoderModifierConstructorDescriptionDefaultMetadataExtractor
(Decoder<?>... decoders) Constructor with decoders for de-serializing metadata entries.Constructor parameters in org.springframework.messaging.rsocket with type arguments of type DecoderModifierConstructorDescriptionDefaultMetadataExtractor
(List<Decoder<?>> decoders) Constructor with list of decoders for de-serializing metadata entries. -
Uses of Decoder in org.springframework.messaging.rsocket.annotation.support
Method parameters in org.springframework.messaging.rsocket.annotation.support with type arguments of type DecoderModifier 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.