Class AtomFeedHttpMessageConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<com.rometools.rome.feed.atom.Feed>
org.springframework.http.converter.feed.AbstractWireFeedHttpMessageConverter<com.rometools.rome.feed.atom.Feed>
org.springframework.http.converter.feed.AtomFeedHttpMessageConverter
- All Implemented Interfaces:
- HttpMessageConverter<com.rometools.rome.feed.atom.Feed>
public class AtomFeedHttpMessageConverter
extends AbstractWireFeedHttpMessageConverter<com.rometools.rome.feed.atom.Feed>
Implementation of 
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.
- Since:
- 3.0.2
- Author:
- Arjen Poutsma
- See Also:
- 
Field SummaryFields inherited from class AbstractWireFeedHttpMessageConverterDEFAULT_CHARSETFields inherited from class AbstractHttpMessageConverterlogger
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class AbstractWireFeedHttpMessageConverterreadInternal, supportsRepeatableWrites, writeInternalMethods inherited from class AbstractHttpMessageConverteraddDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, writeMethods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface HttpMessageConvertergetSupportedMediaTypes
- 
Constructor Details- 
AtomFeedHttpMessageConverterpublic AtomFeedHttpMessageConverter()
 
- 
- 
Method Details- 
supportsDescription copied from class:AbstractHttpMessageConverterIndicates whether the given class is supported by this converter.- Specified by:
- supportsin class- AbstractHttpMessageConverter<com.rometools.rome.feed.atom.Feed>
- Parameters:
- clazz- the class to test for support
- Returns:
- trueif supported;- falseotherwise
 
 
-