org.springframework.http.converter.feed
Class AbstractWireFeedHttpMessageConverter<T extends com.google.code.rome.android.repackaged.com.sun.syndication.feed.WireFeed>
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<T>
org.springframework.http.converter.feed.AbstractWireFeedHttpMessageConverter<T>
- All Implemented Interfaces:
- HttpMessageConverter<T>
- Direct Known Subclasses:
- AtomFeedHttpMessageConverter, RssChannelHttpMessageConverter
public abstract class AbstractWireFeedHttpMessageConverter<T extends com.google.code.rome.android.repackaged.com.sun.syndication.feed.WireFeed>
- extends AbstractHttpMessageConverter<T>
Abstract base class for Atom and RSS Feed message converters, using java.net's
ROME package.
- Since:
- 1.0.0
- See Also:
AtomFeedHttpMessageConverter,
RssChannelHttpMessageConverter
| Methods inherited from class org.springframework.http.converter.AbstractHttpMessageConverter |
canRead, canRead, canWrite, canWrite, getContentLength, getDefaultContentType, getSupportedMediaTypes, read, setSupportedMediaTypes, supports, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CHARSET
public static final java.nio.charset.Charset DEFAULT_CHARSET
AbstractWireFeedHttpMessageConverter
protected AbstractWireFeedHttpMessageConverter(MediaType supportedMediaType)
readInternal
protected T readInternal(java.lang.Class<? extends T> clazz,
HttpInputMessage inputMessage)
throws java.io.IOException,
HttpMessageNotReadableException
- Specified by:
readInternal in class AbstractHttpMessageConverter<T extends com.google.code.rome.android.repackaged.com.sun.syndication.feed.WireFeed>
- Throws:
java.io.IOException
HttpMessageNotReadableException
writeInternal
protected void writeInternal(T wireFeed,
HttpOutputMessage outputMessage)
throws java.io.IOException,
HttpMessageNotWritableException
- Specified by:
writeInternal in class AbstractHttpMessageConverter<T extends com.google.code.rome.android.repackaged.com.sun.syndication.feed.WireFeed>
- Throws:
java.io.IOException
HttpMessageNotWritableException