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 TypeClassDescriptionclassAbstractCharSequenceDecoder<T extends CharSequence>Abstract base class that decodes from a data buffer stream to aCharSequencestream.classAbstract base class forDecoderimplementations that can decode aDataBufferdirectly to the target element type.classAbstract base class forDecoderimplementations.classDecoder forbytearrays.classDecoder forByteBuffers.final classDecode 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.classSimple pass-through decoder forDataBuffers.classDecoder forByteBufs.classDecoder forResources.final classDecode 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 TypeInterfaceDescriptioninterfaceExtension ofDecoderexposing extra methods relevant in the context of HTTP request or response body decoding.Classes in org.springframework.http.codec that implement DecoderModifier and TypeClassDescriptionclassAbstractJacksonDecoder<T extends tools.jackson.databind.ObjectMapper>Abstract base class for Jackson 3.x decoding, leveraging non-blocking parsing.classKotlinSerializationBinaryDecoder<T extends kotlinx.serialization.BinaryFormat>Abstract base class forDecoderimplementations that defer to Kotlin binary serializers.classKotlinSerializationStringDecoder<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 DecoderModifierConstructorDescriptionDecoderHttpMessageReader(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 TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor ofJacksonCborDecoderclassDecode bytes into CBOR and convert to Objects with Jackson 3.x.classDecode 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 TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor ofAbstractJacksonDecoderclassDecoderthat reads a byte stream into JSON and converts it to Objects with google Gson.classDeprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor ofAbstractJacksonDecoderclassDeprecated, for removal: This API element is subject to removal in a future version.since 7.0 in favor ofJacksonSmileDecoderclassDecode a byte stream into JSON and convert to Object's with Jackson 3.x leveraging non-blocking parsing.classDecode 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 TypeClassDescriptionclassDecode a byte stream into a protocol Buffer and convert to Objects with kotlinx.serialization.classclass -
Uses of Decoder in org.springframework.http.codec.smile
Classes in org.springframework.http.codec.smile that implement DecoderModifier and TypeClassDescriptionclassDecode 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 TypeClassDescriptionclassDecode from a bytes stream containing XML elements to a stream ofObjects (POJOs).classDecodes 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 DecoderModifierConstructorDescriptionPayloadMethodArgumentResolver(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 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 TypeMethodDescriptionvoidRSocketMessageHandler.setDecoders(List<? extends Decoder<?>> decoders) Configure the decoders to use for incoming payloads.
CodecConfigurer.DefaultCodecs.jacksonJsonDecoder(Decoder).