Class stringHttpMessageConverter

java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<string>
org.springframework.http.converter.stringHttpMessageConverter
All Implemented Interfaces:
HttpMessageConverter<string>

public class stringHttpMessageConverter extends AbstractHttpMessageConverter<string>
Implementation of HttpMessageConverter that can read and write strings.

By default, this converter supports all media types (*/*), and writes with a Content-Type of text/plain. This can be overridden by setting the supportedMediaTypes property.

since:
3.0
Author:
Arjen Poutsma, Juergen Hoeller