Uses of Interface
org.springframework.http.codec.HttpMessageWriter
Package
Description
Multipart support.
Provides an encoder and a decoder for
Google Protocol Buffers.
Provides a foundation for both the reactive client and server subpackages.
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive
reactive HTTP adapter layer.Provides the types that make up Spring's functional web framework for Reactive environments.
Classes supporting the
org.springframework.web.reactive.function.server
package.Infrastructure for annotation-based handler method processing.
Support for result handling through view resolution.
-
Uses of HttpMessageWriter in org.springframework.http.codec
Modifier and TypeClassDescriptionclass
HttpMessageWriter
that wraps and delegates to anEncoder
.class
HttpMessageWriter
for writing aMultiValueMap<String, String>
as HTML form data, i.e.class
HttpMessageWriter
that can write aResource
.class
HttpMessageWriter
for"text/event-stream"
responses.Modifier and TypeMethodDescriptionCodecConfigurer.getWriters()
Obtain the configured HTTP message writers.Modifier and TypeMethodDescriptionClientCodecConfigurer.MultipartCodecs.writer
(HttpMessageWriter<?> writer) Add a PartHttpMessageWriter
.void
CodecConfigurer.CustomCodecs.writer
(HttpMessageWriter<?> writer) Deprecated. -
Uses of HttpMessageWriter in org.springframework.http.codec.multipart
Modifier and TypeClassDescriptionclass
HttpMessageWriter
for writing aMultiValueMap<String, ?>
as multipart form data, i.e.class
HttpMessageWriter
for writingPartEvent
objects.class
HttpMessageWriter
for writing withPart
.Modifier and TypeMethodDescriptionMultipartHttpMessageWriter.getFormWriter()
Return the configured form writer.Modifier and TypeMethodDescriptionMultipartHttpMessageWriter.getPartWriters()
Return the configured part writers.ModifierConstructorDescriptionMultipartHttpMessageWriter
(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.ModifierConstructorDescriptionMultipartHttpMessageWriter
(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
Modifier and TypeClassDescriptionclass
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
Modifier and TypeMethodDescriptionBodyInserter.Context.messageWriters()
Return theHttpMessageWriters
to be used for response body conversion. -
Uses of HttpMessageWriter in org.springframework.web.reactive.function.client
Modifier and TypeMethodDescriptionExchangeStrategies.messageWriters()
ReturnHttpMessageWriters
to write and encode the request body with. -
Uses of HttpMessageWriter in org.springframework.web.reactive.function.server
Modifier and TypeMethodDescriptionHandlerStrategies.messageWriters()
Return theHttpMessageWriters
to be used for response body conversion.ServerResponse.Context.messageWriters()
Return theHttpMessageWriters
to be used for response body conversion. -
Uses of HttpMessageWriter in org.springframework.web.reactive.function.server.support
Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionAbstractMessageWriterResultHandler.getMessageWriters()
Return the configured message converters.ModifierConstructorDescriptionprotected
AbstractMessageWriterResultHandler
(List<HttpMessageWriter<?>> messageWriters, RequestedContentTypeResolver contentTypeResolver) Constructor withHttpMessageWriters
and aRequestedContentTypeResolver
.protected
AbstractMessageWriterResultHandler
(List<HttpMessageWriter<?>> messageWriters, RequestedContentTypeResolver contentTypeResolver, ReactiveAdapterRegistry adapterRegistry) Constructor with an additionalReactiveAdapterRegistry
.ResponseBodyResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver) Basic constructor with a defaultReactiveAdapterRegistry
.ResponseBodyResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver, ReactiveAdapterRegistry registry) Constructor with anReactiveAdapterRegistry
instance.ResponseEntityResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver) Basic constructor with a defaultReactiveAdapterRegistry
.ResponseEntityResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver, ReactiveAdapterRegistry registry) Constructor with anReactiveAdapterRegistry
instance. -
Uses of HttpMessageWriter in org.springframework.web.reactive.result.view
Modifier and TypeMethodDescriptionHttpMessageWriterView.getMessageWriter()
Return the configured message writer.ModifierConstructorDescriptionHttpMessageWriterView
(HttpMessageWriter<?> writer) Constructor with a fully initializedHttpMessageWriter
.
CodecConfigurer.CustomCodecs.register(Object)
orCodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object)
instead.