类 RssChannelHttpMessageConverter
java.lang.Object
cn.taketoday.http.converter.AbstractHttpMessageConverter<T>
cn.taketoday.http.converter.feed.AbstractWireFeedHttpMessageConverter<com.rometools.rome.feed.rss.Channel>
cn.taketoday.http.converter.feed.RssChannelHttpMessageConverter
- 所有已实现的接口:
HttpMessageConverter<com.rometools.rome.feed.rss.Channel>
public class RssChannelHttpMessageConverter
extends AbstractWireFeedHttpMessageConverter<com.rometools.rome.feed.rss.Channel>
Implementation of
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.
- 从以下版本开始:
- 4.0
- 作者:
- Arjen Poutsma
- 另请参阅:
-
Channel
-
字段概要
从类继承的字段 cn.taketoday.http.converter.feed.AbstractWireFeedHttpMessageConverter
DEFAULT_CHARSET从类继承的字段 cn.taketoday.http.converter.AbstractHttpMessageConverter
logger -
构造器概要
构造器 -
方法概要
从类继承的方法 cn.taketoday.http.converter.feed.AbstractWireFeedHttpMessageConverter
readInternal, writeInternal从类继承的方法 cn.taketoday.http.converter.AbstractHttpMessageConverter
addDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, write从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.taketoday.http.converter.HttpMessageConverter
getSupportedMediaTypes
-
构造器详细资料
-
RssChannelHttpMessageConverter
public RssChannelHttpMessageConverter()
-
-
方法详细资料
-
supports
从类复制的说明:AbstractHttpMessageConverterIndicates whether the given class is supported by this converter.- 指定者:
supports在类中AbstractHttpMessageConverter<com.rometools.rome.feed.rss.Channel>- 参数:
clazz- the class to test for support- 返回:
trueif supported;falseotherwise
-