程序包的使用
org.springframework.http.codec
使用org.springframework.http.codec的程序包 程序包 说明 org.springframework.http.codec org.springframework.http.codec.cbor org.springframework.http.codec.json JSON encoder and decoder support.org.springframework.http.codec.multipart Multipart support.org.springframework.http.codec.protobuf Provides an encoder and a decoder for Google Protocol Buffers.org.springframework.http.codec.support Provides implementations ofClientCodecConfigurer
andServerCodecConfigurer
based on the converter implementations fromorg.springframework.http.codec.json
and co.org.springframework.mock.web.reactive.function.server Mock objects for the functional web framework.org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient
.org.springframework.web.reactive.config Spring WebFlux configuration infrastructure.org.springframework.web.reactive.function Provides a foundation for both the reactive client and server subpackages.org.springframework.web.reactive.function.client Provides a reactiveWebClient
that builds on top of theorg.springframework.http.client.reactive
reactive HTTP adapter layer.org.springframework.web.reactive.function.server Provides the types that make up Spring's functional web framework for Reactive environments.org.springframework.web.reactive.function.server.support Classes supporting theorg.springframework.web.reactive.function.server
package.org.springframework.web.reactive.resource Support classes for serving static resources.org.springframework.web.reactive.result.method.annotation Infrastructure for annotation-based handler method processing.org.springframework.web.reactive.result.view Support for result handling through view resolution.org.springframework.web.server.adapter Implementations to adapt to the underlyingorg.springframework.http.client.reactive
reactive HTTP adapter andHttpHandler
.org.springframework.http.codec使用的org.springframework.http.codec中的类 类 说明 ClientCodecConfigurer Extension ofCodecConfigurer
for HTTP message reader and writer options relevant on the client side.ClientCodecConfigurer.ClientDefaultCodecs CodecConfigurer.DefaultCodecs
extension with extra client-side options.ClientCodecConfigurer.MultipartCodecs Registry and container for multipart HTTP message writers.CodecConfigurer Defines a common interface for configuring either client or server HTTP message readers and writers.CodecConfigurer.CustomCodecs Registry for custom HTTP message readers and writers.CodecConfigurer.DefaultCodecConfig Exposes the values of properties configured throughCodecConfigurer.defaultCodecs()
that are applied to default codecs.CodecConfigurer.DefaultCodecs Customize or replace the HTTP message readers and writers registered by default.DecoderHttpMessageReader HttpMessageReader
that wraps and delegates to aDecoder
.HttpMessageReader Strategy for reading from aReactiveHttpInputMessage
and decoding the stream of bytes to Objects of type<T>
.HttpMessageWriter Strategy for encoding a stream of objects of type<T>
and writing the encoded stream of bytes to anReactiveHttpOutputMessage
.LoggingCodecSupport Base class forEncoder
,Decoder
,HttpMessageReader
, orHttpMessageWriter
that uses a logger and shows potentially sensitive request data.ServerCodecConfigurer Extension ofCodecConfigurer
for HTTP message reader and writer options relevant on the server side.ServerCodecConfigurer.ServerDefaultCodecs CodecConfigurer.DefaultCodecs
extension with extra client-side options.ServerSentEvent Representation for a Server-Sent Event for use with Spring's reactive Web support.ServerSentEvent.Builder A mutable builder for aSseEvent
.org.springframework.http.codec.cbor使用的org.springframework.http.codec中的类 类 说明 HttpMessageDecoder Extension ofDecoder
exposing extra methods relevant in the context of HTTP request or response body decoding.HttpMessageEncoder Extension ofEncoder
exposing extra methods relevant in the context of HTTP request or response body encoding.org.springframework.http.codec.json使用的org.springframework.http.codec中的类 类 说明 HttpMessageDecoder Extension ofDecoder
exposing extra methods relevant in the context of HTTP request or response body decoding.HttpMessageEncoder Extension ofEncoder
exposing extra methods relevant in the context of HTTP request or response body encoding.org.springframework.http.codec.multipart使用的org.springframework.http.codec中的类 类 说明 HttpMessageReader Strategy for reading from aReactiveHttpInputMessage
and decoding the stream of bytes to Objects of type<T>
.HttpMessageWriter Strategy for encoding a stream of objects of type<T>
and writing the encoded stream of bytes to anReactiveHttpOutputMessage
.LoggingCodecSupport Base class forEncoder
,Decoder
,HttpMessageReader
, orHttpMessageWriter
that uses a logger and shows potentially sensitive request data.org.springframework.http.codec.protobuf使用的org.springframework.http.codec中的类 类 说明 EncoderHttpMessageWriter HttpMessageWriter
that wraps and delegates to anEncoder
.HttpMessageEncoder Extension ofEncoder
exposing extra methods relevant in the context of HTTP request or response body encoding.HttpMessageWriter Strategy for encoding a stream of objects of type<T>
and writing the encoded stream of bytes to anReactiveHttpOutputMessage
.org.springframework.http.codec.support使用的org.springframework.http.codec中的类 类 说明 ClientCodecConfigurer Extension ofCodecConfigurer
for HTTP message reader and writer options relevant on the client side.ClientCodecConfigurer.ClientDefaultCodecs CodecConfigurer.DefaultCodecs
extension with extra client-side options.CodecConfigurer Defines a common interface for configuring either client or server HTTP message readers and writers.ServerCodecConfigurer Extension ofCodecConfigurer
for HTTP message reader and writer options relevant on the server side.ServerCodecConfigurer.ServerDefaultCodecs CodecConfigurer.DefaultCodecs
extension with extra client-side options.org.springframework.mock.web.reactive.function.server使用的org.springframework.http.codec中的类 类 说明 HttpMessageReader Strategy for reading from aReactiveHttpInputMessage
and decoding the stream of bytes to Objects of type<T>
.org.springframework.test.web.reactive.server使用的org.springframework.http.codec中的类 类 说明 ClientCodecConfigurer Extension ofCodecConfigurer
for HTTP message reader and writer options relevant on the client side.ServerCodecConfigurer Extension ofCodecConfigurer
for HTTP message reader and writer options relevant on the server side.org.springframework.web.reactive.config使用的org.springframework.http.codec中的类 类 说明 ServerCodecConfigurer Extension ofCodecConfigurer
for HTTP message reader and writer options relevant on the server side.org.springframework.web.reactive.function使用的org.springframework.http.codec中的类 类 说明 HttpMessageReader Strategy for reading from aReactiveHttpInputMessage
and decoding the stream of bytes to Objects of type<T>
.HttpMessageWriter Strategy for encoding a stream of objects of type<T>
and writing the encoded stream of bytes to anReactiveHttpOutputMessage
.ServerSentEvent Representation for a Server-Sent Event for use with Spring's reactive Web support.org.springframework.web.reactive.function.client使用的org.springframework.http.codec中的类 类 说明 ClientCodecConfigurer Extension ofCodecConfigurer
for HTTP message reader and writer options relevant on the client side.HttpMessageReader Strategy for reading from aReactiveHttpInputMessage
and decoding the stream of bytes to Objects of type<T>
.HttpMessageWriter Strategy for encoding a stream of objects of type<T>
and writing the encoded stream of bytes to anReactiveHttpOutputMessage
.org.springframework.web.reactive.function.server使用的org.springframework.http.codec中的类 类 说明 HttpMessageReader Strategy for reading from aReactiveHttpInputMessage
and decoding the stream of bytes to Objects of type<T>
.HttpMessageWriter Strategy for encoding a stream of objects of type<T>
and writing the encoded stream of bytes to anReactiveHttpOutputMessage
.ServerCodecConfigurer Extension ofCodecConfigurer
for HTTP message reader and writer options relevant on the server side.org.springframework.web.reactive.function.server.support使用的org.springframework.http.codec中的类 类 说明 HttpMessageReader Strategy for reading from aReactiveHttpInputMessage
and decoding the stream of bytes to Objects of type<T>
.HttpMessageWriter Strategy for encoding a stream of objects of type<T>
and writing the encoded stream of bytes to anReactiveHttpOutputMessage
.org.springframework.web.reactive.resource使用的org.springframework.http.codec中的类 类 说明 ResourceHttpMessageWriter HttpMessageWriter
that can write aResource
.org.springframework.web.reactive.result.method.annotation使用的org.springframework.http.codec中的类 类 说明 HttpMessageReader Strategy for reading from aReactiveHttpInputMessage
and decoding the stream of bytes to Objects of type<T>
.HttpMessageWriter Strategy for encoding a stream of objects of type<T>
and writing the encoded stream of bytes to anReactiveHttpOutputMessage
.org.springframework.web.reactive.result.view使用的org.springframework.http.codec中的类 类 说明 HttpMessageWriter Strategy for encoding a stream of objects of type<T>
and writing the encoded stream of bytes to anReactiveHttpOutputMessage
.org.springframework.web.server.adapter使用的org.springframework.http.codec中的类 类 说明 ServerCodecConfigurer Extension ofCodecConfigurer
for HTTP message reader and writer options relevant on the server side.