Package | Description |
---|---|
org.springframework.http.codec | |
org.springframework.http.codec.multipart |
Multipart support.
|
org.springframework.http.codec.protobuf |
Provides an encoder and a decoder for
Google Protocol Buffers.
|
org.springframework.web.reactive.function |
Provides a foundation for both the reactive client and server subpackages.
|
org.springframework.web.reactive.function.client |
Provides a reactive
WebClient
that builds on top of the
org.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.
|
org.springframework.web.reactive.function.server.support |
Classes supporting the
org.springframework.web.reactive.function.server package. |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
EncoderHttpMessageWriter<T>
HttpMessageWriter that wraps and delegates to an Encoder . |
class |
FormHttpMessageWriter
HttpMessageWriter for writing a MultiValueMap<String, String>
as HTML form data, i.e. |
class |
ResourceHttpMessageWriter
HttpMessageWriter that can write a Resource . |
class |
ServerSentEventHttpMessageWriter
HttpMessageWriter for "text/event-stream" responses. |
Modifier and Type | Method and Description |
---|---|
List<HttpMessageWriter<?>> |
CodecConfigurer.getWriters()
Obtain the configured HTTP message writers.
|
Modifier and Type | Method and Description |
---|---|
ClientCodecConfigurer.MultipartCodecs |
ClientCodecConfigurer.MultipartCodecs.writer(HttpMessageWriter<?> writer)
Add a Part
HttpMessageWriter . |
void |
CodecConfigurer.CustomCodecs.writer(HttpMessageWriter<?> writer)
Add a custom
HttpMessageWriter . |
Modifier and Type | Class and Description |
---|---|
class |
MultipartHttpMessageWriter
HttpMessageWriter for writing a MultiValueMap<String, ?>
as multipart form data, i.e. |
Modifier and Type | Method and Description |
---|---|
List<HttpMessageWriter<?>> |
MultipartHttpMessageWriter.getPartWriters()
Return the configured part writers.
|
Constructor and Description |
---|
MultipartHttpMessageWriter(List<HttpMessageWriter<?>> partWriters,
HttpMessageWriter<MultiValueMap<String,String>> formWriter)
Constructor with explicit list of writers for serializing parts and a
writer for plain form data to fall back when no media type is specified
and the actual map consists of String values only.
|
Constructor and Description |
---|
MultipartHttpMessageWriter(List<HttpMessageWriter<?>> partWriters)
Constructor with explicit list of writers for serializing parts.
|
MultipartHttpMessageWriter(List<HttpMessageWriter<?>> partWriters,
HttpMessageWriter<MultiValueMap<String,String>> formWriter)
Constructor with explicit list of writers for serializing parts and a
writer for plain form data to fall back when no media type is specified
and the actual map consists of String values only.
|
Modifier and Type | Class and Description |
---|---|
class |
ProtobufHttpMessageWriter
HttpMessageWriter that can write a protobuf Message and adds
X-Protobuf-Schema , X-Protobuf-Message headers and a
delimited=true parameter is added to the content type if a flux is serialized. |
Modifier and Type | Method and Description |
---|---|
List<HttpMessageWriter<?>> |
BodyInserter.Context.messageWriters()
Return the
HttpMessageWriters to be used for response body conversion. |
Modifier and Type | Method and Description |
---|---|
List<HttpMessageWriter<?>> |
ExchangeStrategies.messageWriters()
Return
HttpMessageWriters to write and encode the request body with. |
Modifier and Type | Method and Description |
---|---|
List<HttpMessageWriter<?>> |
HandlerStrategies.messageWriters()
Return the
HttpMessageWriters to be used for response body conversion. |
List<HttpMessageWriter<?>> |
ServerResponse.Context.messageWriters()
Return the
HttpMessageWriters to be used for response body conversion. |
Modifier and Type | Method and Description |
---|---|
void |
ServerResponseResultHandler.setMessageWriters(List<HttpMessageWriter<?>> configurer)
Configure HTTP message writers to serialize the request body with.
|
Modifier and Type | Method and Description |
---|---|
List<HttpMessageWriter<?>> |
AbstractMessageWriterResultHandler.getMessageWriters()
Return the configured message converters.
|
Modifier and Type | Method and Description |
---|---|
HttpMessageWriter<?> |
HttpMessageWriterView.getMessageWriter()
Return the configured message writer.
|
Constructor and Description |
---|
HttpMessageWriterView(HttpMessageWriter<?> writer)
Constructor with a fully initialized
HttpMessageWriter . |