Uses of Interface
org.springframework.core.codec.Decoder
Packages that use Decoder
Package
Description
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 TypeClassDescriptionclassAbstract base class forDecoderimplementations that can decode aDataBufferdirectly to the target element type.classAbstract base class forDecoderimplementations.classDecoder forbytearrays.classDecoder forByteBuffers.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.Methods in org.springframework.http.codec that return DecoderModifier and TypeMethodDescriptionDecoderHttpMessageReader.getDecoder()Return theDecoderof this reader.Decoder<?>ServerSentEventHttpMessageReader.getDecoder()Return the configuredDecoder.Methods in org.springframework.http.codec with parameters of type DecoderModifier and TypeMethodDescriptionvoidDeprecated.voidCodecConfigurer.DefaultCodecs.jackson2JsonDecoder(Decoder<?> decoder) Override the default Jackson JSONDecoder.voidCodecConfigurer.DefaultCodecs.jackson2SmileDecoder(Decoder<?> decoder) Override the default Jackson SmileDecoder.voidCodecConfigurer.DefaultCodecs.jaxb2Decoder(Decoder<?> decoder) Override the default JAXB2Decoder.voidCodecConfigurer.DefaultCodecs.kotlinSerializationJsonDecoder(Decoder<?> decoder) Override the default Kotlin Serialization JSONDecoder.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(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 TypeClassDescriptionclassDecode bytes into CBOR and convert to Object's with Jackson. -
Uses of Decoder in org.springframework.http.codec.json
Classes in org.springframework.http.codec.json that implement DecoderModifier and TypeClassDescriptionclassAbstract base class for Jackson 2.9 decoding, leveraging non-blocking parsing.classDecode a byte stream into JSON and convert to Object's with Jackson 2.9, leveraging non-blocking parsing.classDecode a byte stream into Smile and convert to Object's with Jackson 2.9, 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 TypeClassDescriptionclass -
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, 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 TypeMethodDescriptionvoidRSocketMessageHandler.setDecoders(List<? extends Decoder<?>> decoders) Configure the decoders to use for incoming payloads.
CodecConfigurer.CustomCodecs.register(Object)orCodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object)instead.