クラス AtomFeedHttpMessageConverter
java.lang.ObjectSE
org.springframework.http.converter.AbstractHttpMessageConverter<T>
org.springframework.http.converter.feed.AbstractWireFeedHttpMessageConverter<com.rometools.rome.feed.atom.Feed>
org.springframework.http.converter.feed.AtomFeedHttpMessageConverter
- 実装されているすべてのインターフェース:
HttpMessageConverter<com.rometools.rome.feed.atom.Feed>
public class AtomFeedHttpMessageConverter
extends AbstractWireFeedHttpMessageConverter<com.rometools.rome.feed.atom.Feed>
Atom フィードを読み書きできる
HttpMessageConverter の実装。特に、このコンバーターは、ROME プロジェクトの Feed オブジェクトを処理できます。NOTE: Spring 4.1 の時点で、これは ROME の com.rometools バリアント、バージョン 1.5 に基づいています。ビルドの依存関係をアップグレードしてください。
デフォルトでは、このコンバーターはメディア型(application/atom+xml)を読み書きします。これは、supportedMediaTypes プロパティによってオーバーライドできます。
- 導入:
- 3.0.2
- 作成者:
- Arjen Poutsma
- 関連事項:
Feed
フィールドのサマリー
クラス org.springframework.http.converter.feed.AbstractWireFeedHttpMessageConverter から継承されたフィールド
DEFAULT_CHARSETクラス org.springframework.http.converter.AbstractHttpMessageConverter から継承されたフィールド
loggerコンストラクターの概要
コンストラクターメソッドのサマリー
クラス org.springframework.http.converter.feed.AbstractWireFeedHttpMessageConverter から継承されたメソッド
readInternal, supportsRepeatableWrites, writeInternalクラス org.springframework.http.converter.AbstractHttpMessageConverter から継承されたメソッド
addDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, writeクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.http.converter.HttpMessageConverter から継承されたメソッド
getSupportedMediaTypes
コンストラクターの詳細
AtomFeedHttpMessageConverter
public AtomFeedHttpMessageConverter()
メソッドの詳細
supports
クラスからコピーされた説明:AbstractHttpMessageConverter指定されたクラスがこのコンバーターでサポートされているかどうかを示します。- 次で指定:
- クラス
AbstractHttpMessageConverter<com.rometools.rome.feed.atom.Feed>のsupports - パラメーター:
clazz- サポートをテストするクラス- 戻り値:
- サポートされている場合は
true。それ以外の場合はfalse