Uses of Interface
org.springframework.http.codec.HttpMessageWriter
Packages that use 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
Classes in org.springframework.http.codec that implement HttpMessageWriterModifier 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.Methods in org.springframework.http.codec that return types with arguments of type HttpMessageWriterModifier and TypeMethodDescriptionCodecConfigurer.getWriters()
Obtain the configured HTTP message writers.Methods in org.springframework.http.codec with parameters of type HttpMessageWriterModifier and TypeMethodDescriptionvoid
CodecConfigurer.CustomCodecs.writer
(HttpMessageWriter<?> writer) Deprecated.CodecConfigurer.MultipartCodecs.writer
(HttpMessageWriter<?> writer) Add a PartHttpMessageWriter
. -
Uses of HttpMessageWriter in org.springframework.http.codec.multipart
Classes in org.springframework.http.codec.multipart that implement HttpMessageWriterModifier and TypeClassDescriptionclass
HttpMessageWriter
for writing aMultiValueMap<String, ?>
as multipart form data, i.e.class
HttpMessageWriter
for writingPartEvent
objects.class
HttpMessageWriter
for writing withPart
.Methods in org.springframework.http.codec.multipart that return HttpMessageWriterModifier and TypeMethodDescriptionMultipartHttpMessageWriter.getFormWriter()
Return the configured form writer.Methods in org.springframework.http.codec.multipart that return types with arguments of type HttpMessageWriterModifier and TypeMethodDescriptionMultipartHttpMessageWriter.getPartWriters()
Return the configured part writers.Constructors in org.springframework.http.codec.multipart with parameters of type HttpMessageWriterModifierConstructorDescriptionMultipartHttpMessageWriter
(Supplier<List<HttpMessageWriter<?>>> partWritersSupplier, HttpMessageWriter<MultiValueMap<String, String>> formWriter) Constructor with a supplier for an 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.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 HttpMessageWriterModifierConstructorDescriptionMultipartHttpMessageWriter
(Supplier<List<HttpMessageWriter<?>>> partWritersSupplier, HttpMessageWriter<MultiValueMap<String, String>> formWriter) Constructor with a supplier for an 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.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 HttpMessageWriterModifier 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
Methods in org.springframework.web.reactive.function that return types with arguments of type HttpMessageWriterModifier and TypeMethodDescriptionBodyInserter.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 HttpMessageWriterModifier and TypeMethodDescriptionExchangeStrategies.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 HttpMessageWriterModifier 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
Method parameters in org.springframework.web.reactive.function.server.support with type arguments of type HttpMessageWriterModifier 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
Methods in org.springframework.web.reactive.result.method.annotation that return types with arguments of type HttpMessageWriterModifier and TypeMethodDescriptionAbstractMessageWriterResultHandler.getMessageWriters()
Return the configured message converters.Constructor parameters in org.springframework.web.reactive.result.method.annotation with type arguments of type HttpMessageWriterModifierConstructorDescriptionprotected
AbstractMessageWriterResultHandler
(List<HttpMessageWriter<?>> messageWriters, RequestedContentTypeResolver contentTypeResolver) Constructor withHttpMessageWriters
and aRequestedContentTypeResolver
.protected
AbstractMessageWriterResultHandler
(List<HttpMessageWriter<?>> messageWriters, RequestedContentTypeResolver contentTypeResolver, ReactiveAdapterRegistry adapterRegistry) Constructor with an additionalReactiveAdapterRegistry
.protected
AbstractMessageWriterResultHandler
(List<HttpMessageWriter<?>> messageWriters, RequestedContentTypeResolver contentTypeResolver, ReactiveAdapterRegistry adapterRegistry, List<ErrorResponse.Interceptor> interceptors) Variant ofAbstractMessageWriterResultHandler(List, RequestedContentTypeResolver, ReactiveAdapterRegistry)
with additional list ofErrorResponse.Interceptor
s for return value handling.ResponseBodyResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver) Basic constructor with a defaultReactiveAdapterRegistry
.ResponseBodyResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver, ReactiveAdapterRegistry registry) Constructor with anReactiveAdapterRegistry
instance.ResponseBodyResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver, ReactiveAdapterRegistry registry, List<ErrorResponse.Interceptor> interceptors) Variant ofResponseBodyResultHandler(List, RequestedContentTypeResolver, ReactiveAdapterRegistry)
with additional list ofErrorResponse.Interceptor
s for return value handling.ResponseEntityResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver) Basic constructor with a defaultReactiveAdapterRegistry
.ResponseEntityResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver, ReactiveAdapterRegistry registry) Constructor with anReactiveAdapterRegistry
instance.ResponseEntityResultHandler
(List<HttpMessageWriter<?>> writers, RequestedContentTypeResolver resolver, ReactiveAdapterRegistry registry, List<ErrorResponse.Interceptor> interceptors) Constructor with anReactiveAdapterRegistry
instance. -
Uses of HttpMessageWriter in org.springframework.web.reactive.result.view
Methods in org.springframework.web.reactive.result.view that return HttpMessageWriterModifier and TypeMethodDescriptionHttpMessageWriterView.getMessageWriter()
Return the configured message writer.Constructors in org.springframework.web.reactive.result.view with parameters of type HttpMessageWriterModifierConstructorDescriptionHttpMessageWriterView
(HttpMessageWriter<?> writer) Constructor with a fully initializedHttpMessageWriter
.
CodecConfigurer.CustomCodecs.register(Object)
orCodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object)
instead.