public abstract class

AbstractWireFeedHttpMessageConverter

extends AbstractHttpMessageConverter<T>
java.lang.Object
   ↳ org.springframework.http.converter.AbstractHttpMessageConverter<T>
     ↳ org.springframework.http.converter.feed.AbstractWireFeedHttpMessageConverter<T extends WireFeed>
Known Direct Subclasses

Class Overview

Abstract base class for Atom and RSS Feed message converters, using java.net's ROME package.

Summary

Fields
public static final Charset DEFAULT_CHARSET
[Expand]
Inherited Fields
From class org.springframework.http.converter.AbstractHttpMessageConverter
Protected Constructors
AbstractWireFeedHttpMessageConverter(MediaType supportedMediaType)
Protected Methods
T readInternal(Class<? extends T> clazz, HttpInputMessage inputMessage)
Abstract template method that reads the actualy object.
void writeInternal(T wireFeed, HttpOutputMessage outputMessage)
Abstract template method that writes the actual body.
[Expand]
Inherited Methods
From class org.springframework.http.converter.AbstractHttpMessageConverter
From class java.lang.Object
From interface org.springframework.http.converter.HttpMessageConverter

Fields

public static final Charset DEFAULT_CHARSET

Protected Constructors

protected AbstractWireFeedHttpMessageConverter (MediaType supportedMediaType)

Protected Methods

protected T readInternal (Class<? extends T> clazz, HttpInputMessage inputMessage)

Abstract template method that reads the actualy object. Invoked from read(Class, HttpInputMessage).

Parameters
clazz the type of object to return
inputMessage the HTTP input message to read from
Returns
  • the converted object

protected void writeInternal (T wireFeed, HttpOutputMessage outputMessage)

Abstract template method that writes the actual body. Invoked from write(T, MediaType, HttpOutputMessage).

Parameters
wireFeed the object to write to the output message
outputMessage the message to write to