类 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
  • 构造器详细资料

    • RssChannelHttpMessageConverter

      public RssChannelHttpMessageConverter()
  • 方法详细资料

    • supports

      protected boolean supports(Class<?> clazz)
      从类复制的说明: AbstractHttpMessageConverter
      Indicates whether the given class is supported by this converter.
      指定者:
      supports 在类中 AbstractHttpMessageConverter<com.rometools.rome.feed.rss.Channel>
      参数:
      clazz - the class to test for support
      返回:
      true if supported; false otherwise