Package | Description |
---|---|
org.springframework.http.converter |
Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.
|
org.springframework.http.converter.feed |
Provides HttpMessageConverter implementations for handling Atom and RSS feeds.
|
org.springframework.http.converter.json |
Provides an HttpMessageConverter implementations for handling JSON.
|
org.springframework.http.converter.support | |
org.springframework.http.converter.xml |
Provides an HttpMessageConverter implementations for handling XML.
|
org.springframework.web.bind.annotation.support |
Support classes for web annotation processing.
|
org.springframework.web.client |
Core package of the client-side web support.
|
Modifier and Type | Interface and Description |
---|---|
interface |
GenericHttpMessageConverter<T>
A specialization of
HttpMessageConverter that can convert an HTTP
request into a target object of a specified generic type. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHttpMessageConverter<T>
Abstract base class for most
HttpMessageConverter implementations. |
class |
BufferedImageHttpMessageConverter
Implementation of
HttpMessageConverter that can read and write
BufferedImages . |
class |
ByteArrayHttpMessageConverter
Implementation of
HttpMessageConverter that can read and write byte arrays. |
class |
FormHttpMessageConverter
Implementation of
HttpMessageConverter that can handle form data, including multipart form data (i.e. |
class |
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. |
class |
ResourceHttpMessageConverter
Implementation of
HttpMessageConverter that can read and write Resources . |
class |
StringHttpMessageConverter
Implementation of
HttpMessageConverter that can read and write strings. |
Modifier and Type | Method and Description |
---|---|
void |
FormHttpMessageConverter.addPartConverter(HttpMessageConverter<?> partConverter)
Add a message body converter.
|
Modifier and Type | Method and Description |
---|---|
void |
FormHttpMessageConverter.setPartConverters(List<HttpMessageConverter<?>> partConverters)
Set the message body converters to use.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractWireFeedHttpMessageConverter<T extends com.rometools.rome.feed.WireFeed>
Abstract base class for Atom and RSS Feed message converters, using the
ROME tools project.
|
class |
AtomFeedHttpMessageConverter
Implementation of
HttpMessageConverter
that can read and write Atom feeds. |
class |
RssChannelHttpMessageConverter
Implementation of
HttpMessageConverter
that can read and write RSS feeds. |
Modifier and Type | Class and Description |
---|---|
class |
MappingJackson2HttpMessageConverter
|
class |
MappingJacksonHttpMessageConverter
Implementation of
HttpMessageConverter that
can read and write JSON using Jackson 1.x's ObjectMapper . |
Modifier and Type | Class and Description |
---|---|
class |
AllEncompassingFormHttpMessageConverter
Extension of
FormHttpMessageConverter ,
adding support for XML and JSON-based parts. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractJaxb2HttpMessageConverter<T>
Abstract base class for
HttpMessageConverters
that use JAXB2. |
class |
AbstractXmlHttpMessageConverter<T>
Abstract base class for
HttpMessageConverters
that convert from/to XML. |
class |
Jaxb2CollectionHttpMessageConverter<T extends Collection>
An
HttpMessageConverter that can read XML collections using JAXB2. |
class |
Jaxb2RootElementHttpMessageConverter
Implementation of
HttpMessageConverter
that can read and write XML using JAXB2. |
class |
MarshallingHttpMessageConverter
Implementation of
HttpMessageConverter
that can read and write XML using Spring's Marshaller and Unmarshaller abstractions. |
class |
SourceHttpMessageConverter<T extends Source>
Implementation of
HttpMessageConverter
that can read and write Source objects. |
class |
XmlAwareFormHttpMessageConverter
Deprecated.
in favor of
AllEncompassingFormHttpMessageConverter |
Constructor and Description |
---|
HandlerMethodInvoker(HandlerMethodResolver methodResolver,
WebBindingInitializer bindingInitializer,
SessionAttributeStore sessionAttributeStore,
ParameterNameDiscoverer parameterNameDiscoverer,
WebArgumentResolver[] customArgumentResolvers,
HttpMessageConverter[] messageConverters) |
Modifier and Type | Method and Description |
---|---|
List<HttpMessageConverter<?>> |
RestTemplate.getMessageConverters()
Return the message body converters.
|
Modifier and Type | Method and Description |
---|---|
void |
RestTemplate.setMessageConverters(List<HttpMessageConverter<?>> messageConverters)
Set the message body converters to use.
|
Constructor and Description |
---|
HttpMessageConverterExtractor(Class<T> responseType,
List<HttpMessageConverter<?>> messageConverters)
Creates a new instance of the
HttpMessageConverterExtractor with the given
response type and message converters. |
HttpMessageConverterExtractor(Type responseType,
List<HttpMessageConverter<?>> messageConverters)
Creates a new instance of the
HttpMessageConverterExtractor with the given
response type and message converters. |
RestTemplate(List<HttpMessageConverter<?>> messageConverters)
Create a new instance of the
RestTemplate using the given list of
HttpMessageConverter to use |
Copyright © 2023. All rights reserved.