See: Description
Interface | Description |
---|---|
GenericHttpMessageConverter<T> |
A specialization of
HttpMessageConverter that 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. |
HttpMessageConverter<T> |
Strategy interface that specifies a converter that can convert from and to HTTP requests and responses.
|
Class | Description |
---|---|
AbstractGenericHttpMessageConverter<T> |
Abstract base class for most
GenericHttpMessageConverter implementations. |
AbstractHttpMessageConverter<T> |
Abstract base class for most
HttpMessageConverter implementations. |
BufferedImageHttpMessageConverter |
Implementation of
HttpMessageConverter that can read and write
BufferedImages . |
ByteArrayHttpMessageConverter |
Implementation of
HttpMessageConverter that can read and write byte arrays. |
FormHttpMessageConverter |
Implementation of
HttpMessageConverter to read and write 'normal' HTML
forms and also to write (but not read) multipart data (e.g. |
ObjectToStringHttpMessageConverter |
An
HttpMessageConverter that uses StringHttpMessageConverter
for reading and writing content and a ConversionService for converting
the String content to and from the target object type. |
ResourceHttpMessageConverter |
Implementation of
HttpMessageConverter that can read and write Resources
and supports byte range requests. |
ResourceRegionHttpMessageConverter |
Implementation of
HttpMessageConverter that can write a single ResourceRegion ,
or Collections of ResourceRegions . |
StringHttpMessageConverter |
Implementation of
HttpMessageConverter that can read and write strings. |
Exception | Description |
---|---|
HttpMessageConversionException |
Thrown by
HttpMessageConverter implementations when a conversion attempt fails. |
HttpMessageNotReadableException |
Thrown by
HttpMessageConverter implementations when the
HttpMessageConverter.read(java.lang.Class<? extends T>, org.springframework.http.HttpInputMessage) method fails. |
HttpMessageNotWritableException |
Thrown by
HttpMessageConverter implementations when the
HttpMessageConverter.write(T, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage) method fails. |