public class RssChannelHttpMessageConverter extends AbstractWireFeedHttpMessageConverter<com.sun.syndication.feed.rss.Channel>
HttpMessageConverter
that can read and write RSS feeds. Specifically, this converter can handle Channel
objects from the ROME project.
By default, this converter reads and writes the media type (application/rss+xml).
This can be overridden through the supportedMediaTypes property.
ChannelDEFAULT_CHARSETlogger| Constructor and Description |
|---|
RssChannelHttpMessageConverter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
supports(Class<?> clazz)
Indicates whether the given class is supported by this converter.
|
readInternal, writeInternalcanRead, canRead, canWrite, canWrite, getContentLength, getDefaultContentType, getSupportedMediaTypes, read, setSupportedMediaTypes, writeprotected boolean supports(Class<?> clazz)
AbstractHttpMessageConvertersupports in class AbstractHttpMessageConverter<com.sun.syndication.feed.rss.Channel>clazz - the class to test for supporttrue if supported; false otherwise