public class Utf8StringHttpMessageConverter
extends org.springframework.http.converter.StringHttpMessageConverter
Modifier and Type | Field and Description |
---|---|
static org.springframework.http.MediaType |
TEXT_PLAIN_UTF8 |
Constructor and Description |
---|
Utf8StringHttpMessageConverter()
build a UTF-8 string HTTP message converter.
|
Modifier and Type | Method and Description |
---|---|
Utf8StringHttpMessageConverter |
addSupportedMediaTypes(org.springframework.http.MediaType mediaType)
addSupportedMediaTypes.
|
protected List<Charset> |
getAcceptedCharsets() |
getContentLength, readInternal, setWriteAcceptCharset, supports, writeInternal
public Utf8StringHttpMessageConverter()
public final Utf8StringHttpMessageConverter addSupportedMediaTypes(org.springframework.http.MediaType mediaType)
mediaType
- mediaType to addCopyright © 2017. All rights reserved.