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. |
HttpMessageConverter<T> |
Strategy interface that specifies a converter that can convert from and to HTTP requests and responses.
|
Class | Description |
---|---|
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 that can handle form data, including multipart form data (i.e. |
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 . |
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. |