java.lang.Object | |||
↳ | org.springframework.http.converter.AbstractHttpMessageConverter<T> | ||
↳ | org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter<T> | ||
↳ | org.springframework.http.converter.xml.SourceHttpMessageConverter<T extends javax.xml.transform.Source> |
Implementation of HttpMessageConverter
that can read and write Source
objects.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.http.converter.AbstractHttpMessageConverter
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Indicates whether the given class is supported by this converter.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the content length for the given type.
| |||||||||||
Abstract template method called from
read(Class, HttpInputMessage) . | |||||||||||
Abstract template method called from
writeInternal(Object, HttpOutputMessage) . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.http.converter.xml.AbstractXmlHttpMessageConverter
| |||||||||||
From class
org.springframework.http.converter.AbstractHttpMessageConverter
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.http.converter.HttpMessageConverter
|
Indicates whether the given class is supported by this converter.
clazz | the class to test for support |
---|
true
if supported; false
otherwise
Returns the content length for the given type.
By default, this returns null
, meaning that the content length is unknown.
Can be overridden in subclasses.
t | the type to return the content length for |
---|
null
if not known
Abstract template method called from read(Class, HttpInputMessage)
.
clazz | the type of object to return |
---|---|
headers | the HTTP input headers |
source | the HTTP input body |
IOException |
---|
Abstract template method called from writeInternal(Object, HttpOutputMessage)
.
t | the object to write to the output message |
---|---|
headers | the HTTP output headers |
result | the HTTP output body |
IOException |
---|