Uses of Interface
org.springframework.http.codec.HttpMessageWriter
Packages that use HttpMessageWriter 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 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.result.method.annotation Infrastructure for annotation-based handler method processing.org.springframework.web.reactive.result.view Support for result handling through view resolution.Uses of HttpMessageWriter in org.springframework.http.codec
Classes in org.springframework.http.codec that implement HttpMessageWriter Modifier and Type Class Description class
EncoderHttpMessageWriter<T>
HttpMessageWriter
that wraps and delegates to anEncoder
.class
FormHttpMessageWriter
HttpMessageWriter
for writing aMultiValueMap<String, String>
as HTML form data, i.e.class
ResourceHttpMessageWriter
HttpMessageWriter
that can write aResource
.class
ServerSentEventHttpMessageWriter
HttpMessageWriter
for"text/event-stream"
responses.Methods in org.springframework.http.codec that return types with arguments of type HttpMessageWriter Modifier and Type Method Description List<HttpMessageWriter<?>>
CodecConfigurer. getWriters()
Obtain the configured HTTP message writers.Methods in org.springframework.http.codec with parameters of type HttpMessageWriter Modifier and Type Method Description ClientCodecConfigurer.MultipartCodecs
ClientCodecConfigurer.MultipartCodecs. writer(HttpMessageWriter<?> writer)
Add a PartHttpMessageWriter
.void
CodecConfigurer.CustomCodecs. writer(HttpMessageWriter<?> writer)
Deprecated.as of 5.1.13, useCodecConfigurer.CustomCodecs.register(Object)
orCodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object)
instead.Uses of HttpMessageWriter in org.springframework.http.codec.multipart
Classes in org.springframework.http.codec.multipart that implement HttpMessageWriter Modifier and Type Class Description class
MultipartHttpMessageWriter
HttpMessageWriter
for writing aMultiValueMap<String, ?>
as multipart form data, i.e.Methods in org.springframework.http.codec.multipart that return HttpMessageWriter Modifier and Type Method Description HttpMessageWriter<MultiValueMap<String,String>>
MultipartHttpMessageWriter. getFormWriter()
Return the configured form writer.Methods in org.springframework.http.codec.multipart that return types with arguments of type HttpMessageWriter Modifier and Type Method Description List<HttpMessageWriter<?>>
MultipartHttpMessageWriter. getPartWriters()
Return the configured part writers.Constructors in org.springframework.http.codec.multipart with parameters of type HttpMessageWriter Constructor 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 parameters in org.springframework.http.codec.multipart with type arguments of type HttpMessageWriter Constructor 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.Uses of HttpMessageWriter in org.springframework.http.codec.protobuf
Classes in org.springframework.http.codec.protobuf that implement HttpMessageWriter Modifier and Type Class Description class
ProtobufHttpMessageWriter
HttpMessageWriter
that can write a protobufMessage
and addsX-Protobuf-Schema
,X-Protobuf-Message
headers and adelimited=true
parameter is added to the content type if a flux is serialized.Uses of HttpMessageWriter in org.springframework.web.reactive.function
Methods in org.springframework.web.reactive.function that return types with arguments of type HttpMessageWriter Modifier and Type Method Description List<HttpMessageWriter<?>>
BodyInserter.Context. messageWriters()
Return theHttpMessageWriters
to be used for response body conversion.Uses of HttpMessageWriter in org.springframework.web.reactive.function.client
Methods in org.springframework.web.reactive.function.client that return types with arguments of type HttpMessageWriter Modifier and Type Method Description List<HttpMessageWriter<?>>
ExchangeStrategies. messageWriters()
ReturnHttpMessageWriters
to write and encode the request body with.Uses of HttpMessageWriter in org.springframework.web.reactive.function.server
Methods in org.springframework.web.reactive.function.server that return types with arguments of type HttpMessageWriter Modifier and Type Method Description List<HttpMessageWriter<?>>
HandlerStrategies. messageWriters()
Return theHttpMessageWriters
to be used for response body conversion.List<HttpMessageWriter<?>>
ServerResponse.Context. messageWriters()
Return theHttpMessageWriters
to be used for response body conversion.Uses of HttpMessageWriter in org.springframework.web.reactive.function.server.support
Method parameters in org.springframework.web.reactive.function.server.support with type arguments of type HttpMessageWriter Modifier and Type Method Description void
ServerResponseResultHandler. setMessageWriters(List<HttpMessageWriter<?>> configurer)
Configure HTTP message writers to serialize the request body with.Uses of HttpMessageWriter in org.springframework.web.reactive.result.method.annotation
Methods in org.springframework.web.reactive.result.method.annotation that return types with arguments of type HttpMessageWriter Modifier and Type Method Description List<HttpMessageWriter<?>>
AbstractMessageWriterResultHandler. getMessageWriters()
Return the configured message converters.Uses of HttpMessageWriter in org.springframework.web.reactive.result.view
Methods in org.springframework.web.reactive.result.view that return HttpMessageWriter Modifier and Type Method Description HttpMessageWriter<?>
HttpMessageWriterView. getMessageWriter()
Return the configured message writer.Constructors in org.springframework.web.reactive.result.view with parameters of type HttpMessageWriter Constructor Description HttpMessageWriterView(HttpMessageWriter<?> writer)
Constructor with a fully initializedHttpMessageWriter
.