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.
Provides an encoder and a decoder for the smile data format ("binary JsON").
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 aCharsequencestream.class Abstract base class forDecoderimplementations that can decode aDataBufferdirectly to the target element type.class Abstract base class forDecoderimplementations.class Decoder forbytearrays.class Decoder forByteBuffers.final class Decode from a data buffer stream to aCharBufferstream, 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 forByteBufs.class Decoder forResources.final class Decode from a data buffer stream to astringstream, 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 ofDecoderexposing extra methods relevant in the context of HTTP request or response body decoding.Classes in org.springframework.http.codec that implement DecoderModifier and TypeClassDescriptionclass AbstractJacksonDecoder<T extends tools.jackson.databind.ObjectMapper>Abstract base class for Jackson 3.x decoding, leveraging non-blocking parsing.class KotlinserializationBinaryDecoder<T extends kotlinx.serialization.BinaryFormat>Abstract base class forDecoderimplementations that defer to Kotlin binary serializers.class KotlinserializationstringDecoder<T extends kotlinx.serialization.stringFormat>Abstract base class forDecoderimplementations that defer to Kotlin string serializers.Methods in org.springframework.http.codec that return DecoderModifier and TypeMethodDescriptionDecoderHttpMessageReader.getDecoder()Return theDecoderof this reader.serversentEventHttpMessageReader.getDecoder()Return the configuredDecoder.Methods in org.springframework.http.codec with parameters of type DecoderModifier and TypeMethodDescriptionvoidCodecConfigurer.DefaultCodecs.gsonDecoder(Decoder<?> decoder) Override the default GsonDecoder.default voidCodecConfigurer.DefaultCodecs.jackson2JsonDecoder(Decoder<?> decoder) Deprecated, for removal: This API element is subject to removal in a future version.default voidCodecConfigurer.DefaultCodecs.jackson2smileDecoder(Decoder<?> decoder) Deprecated, for removal: This API element is subject to removal in a future version.voidCodecConfigurer.DefaultCodecs.jacksonCborDecoder(Decoder<?> decoder) Override the default Jackson 3.x CBORDecoder.voidCodecConfigurer.DefaultCodecs.jacksonJsonDecoder(Decoder<?> decoder) Override the default Jackson 3.x JsONDecoder.voidCodecConfigurer.DefaultCodecs.jacksonsmileDecoder(Decoder<?> decoder) Override the default Jackson 3.x smileDecoder.voidCodecConfigurer.DefaultCodecs.jaxb2Decoder(Decoder<?> decoder) Override the default JAXB2Decoder.voidCodecConfigurer.DefaultCodecs.kotlinserializationCborDecoder(Decoder<?> decoder) Override the default Kotlin serialization CBORDecoder.voidCodecConfigurer.DefaultCodecs.kotlinserializationJsonDecoder(Decoder<?> decoder) Override the default Kotlin serialization JsONDecoder.voidCodecConfigurer.DefaultCodecs.kotlinserializationProtobufDecoder(Decoder<?> decoder) Override the default Kotlin serialization ProtobufDecoder.voidCodecConfigurer.DefaultCodecs.protobufDecoder(Decoder<?> decoder) Override the default ProtobufDecoder.voidClientCodecConfigurer.ClientDefaultCodecs.serversentEventDecoder(Decoder<?> decoder) Configure theDecoderto use for server-sent Events.Constructors in org.springframework.http.codec with parameters of type DecoderModifierConstructorDescription DecoderHttpMessageReader(Decoder<T> decoder) Create an instance wrapping the givenDecoder. serversentEventHttpMessageReader(@Nullable Decoder<?> decoder) Constructor with JsONDecoderfor decoding to Objects. -
Uses of Decoder in org.springframework.http.codec.cbor
Classes in org.springframework.http.codec.cbor that implement DecoderModifier and TypeClassDescriptionclass Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor ofJacksonCborDecoderclass Decode bytes into CBOR and convert to Objects with Jackson 3.x.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 Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor ofAbstractJacksonDecoderclass Decoderthat reads a byte stream into JsON and converts it to Objects with Google Gson.class Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor ofAbstractJacksonDecoderclass Deprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor ofJacksonsmileDecoderclass Decode a byte stream into JsON and convert to Object's with Jackson 3.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.smile
Classes in org.springframework.http.codec.smile that implement DecoderModifier and TypeClassDescriptionclass Decode a byte stream into smile and convert to Objects with Jackson 3.x, leveraging non-blocking parsing. -
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 ofObjects (POJOs).class Decodes aDataBufferstream 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 TypeMethodDescriptionvoidMessageMappingMessageHandler.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 DecoderModifierConstructorDescription PayloadMethodArgumentResolver(List<? extends Decoder<?>> decoders, @Nullable Validator validator, @Nullable 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, @Nullable 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 DecoderModifierConstructorDescription DefaultMetadataExtractor(Decoder<?>... decoders) Constructor with decoders for de-serializing metadata entries.Constructor parameters in org.springframework.messaging.rsocket with type arguments of type DecoderModifierConstructorDescription DefaultMetadataExtractor(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 TypeMethodDescriptionvoidRsocketMessageHandler.setDecoders(List<? extends Decoder<?>> decoders) Configure the decoders to use for incoming payloads.
CodecConfigurer.DefaultCodecs.jacksonJsonDecoder(Decoder).