Uses of Interface
org.springframework.http.codec.HttpMessageWriter
Package
Description
Provides implementations of
Encoder
and Decoder
for web use.Multipart support.
Provides an encoder and a decoder for
Google Protocol Buffers.
-
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 TypeMethodDescriptionvoid
CodecConfigurer.CustomCodecs.writer
(HttpMessageWriter<?> writer) Deprecated.CodecConfigurer.MultipartCodecs.writer
(HttpMessageWriter<?> writer) Add a PartHttpMessageWriter
. -
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 TypeMethodDescriptionHttpMessageWriter<org.springframework.util.MultiValueMap<String,
String>> MultipartHttpMessageWriter.getFormWriter()
Return the configured form writer.Modifier and TypeMethodDescriptionMultipartHttpMessageWriter.getPartWriters()
Return the configured part writers.ModifierConstructorDescriptionMultipartHttpMessageWriter
(Supplier<List<HttpMessageWriter<?>>> partWritersSupplier, HttpMessageWriter<org.springframework.util.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<org.springframework.util.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
(Supplier<List<HttpMessageWriter<?>>> partWritersSupplier, HttpMessageWriter<org.springframework.util.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<org.springframework.util.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.
CodecConfigurer.CustomCodecs.register(Object)
orCodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object)
instead.