类 StringHttpMessageConverter

java.lang.Object
cn.taketoday.http.converter.AbstractHttpMessageConverter<String>
cn.taketoday.http.converter.StringHttpMessageConverter
所有已实现的接口:
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.

从以下版本开始:
4.0
作者:
Arjen Poutsma, Juergen Hoeller