クラス AbstractWireFeedHttpMessageConverter<T extends com.rometools.rome.feed.WireFeed>
java.lang.ObjectSE
org.springframework.http.converter.AbstractHttpMessageConverter<T>
org.springframework.http.converter.feed.AbstractWireFeedHttpMessageConverter<T>
- 型パラメーター:
T
- 変換されたオブジェクト型
- 実装されたすべてのインターフェース:
HttpMessageConverter<T>
public abstract class AbstractWireFeedHttpMessageConverter<T extends com.rometools.rome.feed.WireFeed>
extends AbstractHttpMessageConverter<T>
ROME ツールプロジェクトを使用した、Atom および RSS フィードメッセージコンバーターの抽象基本クラス。
NOTE: Spring 4.1 の時点で、これは ROME の com.rometools
バリアント、バージョン 1.5 に基づいています。ビルドの依存関係をアップグレードしてください。
- 導入:
- 3.0.2
- 作成者:
- Arjen Poutsma
- 関連事項:
フィールドのサマリー
フィールドクラス org.springframework.http.converter.AbstractHttpMessageConverter から継承されたフィールド
logger
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected T
readInternal
(ClassSE<? extends T> clazz, HttpInputMessage inputMessage) 実際のオブジェクトを読み取る抽象テンプレートメソッド。protected boolean
このメッセージコンバーターが指定されたオブジェクトを複数回書き込むことができるかどうかを示します。protected void
writeInternal
(T wireFeed, HttpOutputMessage outputMessage) 実際の本文を書き込む抽象テンプレートメソッド。クラス org.springframework.http.converter.AbstractHttpMessageConverter から継承されたメソッド
addDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, supports, write
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.http.converter.HttpMessageConverter から継承されたメソッド
getSupportedMediaTypes
フィールドの詳細
DEFAULT_CHARSET
コンバーターが使用するデフォルトの文字セット。
コンストラクターの詳細
AbstractWireFeedHttpMessageConverter
メソッドの詳細
readInternal
protected T readInternal(ClassSE<? extends T> clazz, HttpInputMessage inputMessage) throws IOExceptionSE, HttpMessageNotReadableException クラスからコピーされた説明:AbstractHttpMessageConverter
実際のオブジェクトを読み取る抽象テンプレートメソッド。AbstractHttpMessageConverter.read(java.lang.Class<? extends T>, org.springframework.http.HttpInputMessage)
から呼び出されます。- 次で指定:
- クラス
AbstractHttpMessageConverter<T extends com.rometools.rome.feed.WireFeed>
のreadInternal
- パラメーター:
clazz
- 返すオブジェクトの型inputMessage
- 読み込む HTTP 入力メッセージ- 戻り値:
- 変換されたオブジェクト
- 例外:
IOExceptionSE
- I/O エラーの場合HttpMessageNotReadableException
- 変換エラーの場合
writeInternal
protected void writeInternal(T wireFeed, HttpOutputMessage outputMessage) throws IOExceptionSE, HttpMessageNotWritableException クラスからコピーされた説明:AbstractHttpMessageConverter
実際の本文を書き込む抽象テンプレートメソッド。AbstractHttpMessageConverter.write(T, org.springframework.http.MediaType, org.springframework.http.HttpOutputMessage)
から呼び出されます。- 次で指定:
- クラス
AbstractHttpMessageConverter<T extends com.rometools.rome.feed.WireFeed>
のwriteInternal
- パラメーター:
wireFeed
- 出力メッセージに書き込むオブジェクトoutputMessage
- 書き込む HTTP 出力メッセージ- 例外:
IOExceptionSE
- I/O エラーの場合HttpMessageNotWritableException
- 変換エラーの場合
supportsRepeatableWrites
クラスからコピーされた説明:AbstractHttpMessageConverter
このメッセージコンバーターが指定されたオブジェクトを複数回書き込むことができるかどうかを示します。デフォルトの実装は
false
を返します。- オーバーライド:
- クラス
AbstractHttpMessageConverter<T extends com.rometools.rome.feed.WireFeed>
のsupportsRepeatableWrites
- パラメーター:
t
- オブジェクト t- 戻り値:
-
t
を繰り返し書き込める場合はtrue
。それ以外の場合はfalse