Package org.springframework.http.converter
@NonNullApi
@NonNullFields
package org.springframework.http.converter
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
-
ClassDescriptionAbstract base class for most
GenericHttpMessageConverterimplementations.Abstract base class for mostHttpMessageConverterimplementations.AbstractKotlinSerializationHttpMessageConverter<T extends kotlinx.serialization.SerialFormat>Abstract base class forHttpMessageConverterimplementations that use Kotlin serialization.Implementation ofHttpMessageConverterthat can read and writeBufferedImages.Implementation ofHttpMessageConverterthat can read and write byte arrays.Implementation ofHttpMessageConverterto read and write 'normal' HTML forms and also to write (but not read) multipart data (e.g.A specialization ofHttpMessageConverterthat can convert an HTTP request into a target object of a specified generic type and a source object of a specified generic type into an HTTP response.Thrown byHttpMessageConverterimplementations when a conversion attempt fails.Strategy interface for converting from and to HTTP requests and responses.Thrown byHttpMessageConverterimplementations when theHttpMessageConverter.read(java.lang.Class<? extends T>, org.springframework.http.HttpInputMessage)method fails.Thrown byHttpMessageConverterimplementations when theHttpMessageConverter.write(T, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage)method fails.KotlinSerializationBinaryHttpMessageConverter<T extends kotlinx.serialization.BinaryFormat>Abstract base class forHttpMessageConverterimplementations that defer to Kotlin binary serializers.KotlinSerializationStringHttpMessageConverter<T extends kotlinx.serialization.StringFormat>Abstract base class forHttpMessageConverterimplementations that defer to Kotlin string serializers.AnHttpMessageConverterthat usesStringHttpMessageConverterfor reading and writing content and aConversionServicefor converting the String content to and from the target object type.Implementation ofHttpMessageConverterthat can read/writeResourcesand supports byte range requests.Implementation ofHttpMessageConverterthat can write a singleResourceRegionor Collections ofResourceRegions.Implementation ofHttpMessageConverterthat can read and write strings.