Top Description Fields Constructors Methods
org.springframework.http.converter.feed

public Class AtomFeedHttpMessageConverter

extends AbstractWireFeedHttpMessageConverter<Feed>
Class Inheritance
Imports
com.rometools.rome.feed.atom.Feed, org.springframework.http.MediaType

Implementation of org.springframework.http.converter.HttpMessageConverter that can read and write Atom feeds. Specifically, this converter can handle Feed objects from the ROME project.

Note

As of Spring 4.1, this is based on the com.rometools variant of ROME, version 1.5. Please upgrade your build dependency.

By default, this converter reads and writes the media type (application/atom+xml). This can be overridden through the supportedMediaTypes property.

Author
Arjen Poutsma
Since
3.0.2
See Also
Feed

Field Summary

Inherited from org.springframework.http.converter.feed.AbstractWireFeedHttpMessageConverter:
DEFAULT_CHARSET

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected boolean
supports(Class<?>
the class to test for support
clazz
)

Implements abstract org.springframework.http.converter.AbstractHttpMessageConverter.supports.

Indicates whether the given class is supported by this converter.
Inherited from org.springframework.http.converter.feed.AbstractWireFeedHttpMessageConverter:
readInternalsupportsRepeatableWriteswriteInternal

Constructor Detail

AtomFeedHttpMessageConverterback to summary
public AtomFeedHttpMessageConverter()

Method Detail

supportsback to summary
protected boolean supports(Class<?> clazz)

Implements abstract org.springframework.http.converter.AbstractHttpMessageConverter.supports.

Doc from org.springframework.http.converter.AbstractHttpMessageConverter.supports.

Indicates whether the given class is supported by this converter.

Parameters
clazz:Class<?>

the class to test for support

Returns:boolean

true if supported; false otherwise

Annotations
@Override