Package org.springframework.http.converter
@NullMarked
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.AbstractJacksonHttpMessageConverter<T extends tools.jackson.databind.ObjectMapper>Abstract base class for Jackson based and content type independentHttpMessageConverterimplementations.AbstractKotlinSerializationHttpMessageConverter<T extends kotlinx.serialization.SerialFormat>Abstract base class forHttpMessageConverterimplementations that use Kotlin serialization.Abstract base class for mostSmartHttpMessageConverterimplementations.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 (for example, file uploads).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.Utility for building and configuring an immutable collection ofHttpMessageConverterinstances forclientorserverusage.HttpMessageConverters.Builder<T extends HttpMessageConverters.Builder<T>>Client builder for anHttpMessageConvertersinstance.Server builder for anHttpMessageConvertersinstance.Thrown byHttpMessageConverterimplementations when theHttpMessageConverter.read(Class, HttpInputMessage)method fails.Thrown byHttpMessageConverterimplementations when theHttpMessageConverter.write(T, MediaType, 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.A specialization ofHttpMessageConverterthat can convert an HTTP request into a target object of a specifiedResolvableTypeand a source object of a specifiedResolvableTypeinto an HTTP response with optional hints.Implementation ofHttpMessageConverterthat can read and write strings.