Uses of Interface
org.springframework.http.codec.HttpMessageWriter
Packages that use 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
Classes in org.springframework.http.codec that implement HttpMessageWriterModifier and TypeClassDescriptionclassHttpMessageWriterthat wraps and delegates to anEncoder.classHttpMessageWriterfor writing aMultiValueMap<String, String>as HTML form data, i.e.classHttpMessageWriterthat can write aResource.classHttpMessageWriterfor"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 TypeMethodDescriptionvoidCodecConfigurer.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 TypeClassDescriptionclassHttpMessageWriterfor writing aMultiValueMap<String, ?>as multipart form data, i.e.classHttpMessageWriterfor writingPartEventobjects.classHttpMessageWriterfor writing withPart.Methods in org.springframework.http.codec.multipart that return HttpMessageWriterModifier and TypeMethodDescriptionHttpMessageWriter<org.springframework.util.MultiValueMap<String,String>> MultipartHttpMessageWriter.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<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.Constructor parameters in org.springframework.http.codec.multipart with type arguments of type HttpMessageWriterModifierConstructorDescriptionMultipartHttpMessageWriter(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
Classes in org.springframework.http.codec.protobuf that implement HttpMessageWriterModifier and TypeClassDescriptionclassHttpMessageWriterthat can write a protobufMessageand addsX-Protobuf-Schema,X-Protobuf-Messageheaders and adelimited=trueparameter is added to the content type if a flux is serialized.
CodecConfigurer.CustomCodecs.register(Object)orCodecConfigurer.CustomCodecs.registerWithDefaultConfig(Object)instead.