public abstract class AbstractWireFeedHttpMessageConverter<T extends com.rometools.rome.feed.WireFeed> extends AbstractHttpMessageConverter<T>
> 注: Spring 4.1 以降、これは ROME の com.rometools
バリアント、バージョン 1.5 に基づいています。ビルドの依存関係をアップグレードしてください。
AtomFeedHttpMessageConverter
, RssChannelHttpMessageConverter
修飾子と型 | フィールドと説明 |
---|---|
static CharsetSE | DEFAULT_CHARSET |
logger
修飾子 | コンストラクターと説明 |
---|---|
protected | AbstractWireFeedHttpMessageConverter(MediaType supportedMediaType) |
修飾子と型 | メソッドと説明 |
---|---|
protected T | readInternal(ClassSE<? extends T> clazz, HttpInputMessage inputMessage) 実際のオブジェクトを読み取る抽象テンプレートメソッド。 |
protected void | writeInternal(T wireFeed, HttpOutputMessage outputMessage) 実際の本文を書き込む抽象テンプレートメソッド。 |
addDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, supports, write
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public static final CharsetSE DEFAULT_CHARSET
protected AbstractWireFeedHttpMessageConverter(MediaType supportedMediaType)
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
- 変換エラーの場合 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
- 変換エラーの場合