Class MarshallingHttpMessageConverter

All Implemented Interfaces:
HttpMessageConverter<Object>

public class MarshallingHttpMessageConverter extends AbstractXmlHttpMessageConverter<Object>
Implementation of HttpMessageConverter that can read and write XML using Spring's Marshaller and Unmarshaller abstractions.

This converter requires a Marshaller and Unmarshaller before it can be used. These can be injected by the constructor or bean properties.

By default, this converter supports text/xml and application/xml. This can be overridden by setting the supportedMediaTypes property.

Since:
3.0
Author:
Arjen Poutsma