Document default charset in Jackson message converters Javadoc

Issue: SPR-13600
This commit is contained in:
Sebastien Deleuze
2015-10-26 11:39:00 +01:00
parent 0039c74649
commit 994a11da3e
3 changed files with 5 additions and 3 deletions

View File

@@ -29,7 +29,8 @@ import org.springframework.http.MediaType;
*
* <p>This converter can be used to bind to typed beans, or untyped {@link java.util.HashMap HashMap} instances.
*
* <p>By default, this converter supports {@code application/json} and {@code application/*+json}.
* <p>By default, this converter supports {@code application/json} and {@code application/*+json}
* with {@code UTF-8} character set.
* This can be overridden by setting the {@link #setSupportedMediaTypes supportedMediaTypes} property.
*
* <p>The default constructor uses the default configuration provided by {@link Jackson2ObjectMapperBuilder}.

View File

@@ -29,7 +29,8 @@ import org.springframework.util.Assert;
* that can read and write XML using <a href="https://github.com/FasterXML/jackson-dataformat-xml">
* Jackson 2.x extension component for reading and writing XML encoded data</a>.
*
* <p>By default, this converter supports {@code application/xml}, {@code text/xml}, and {@code application/*+xml}.
* <p>By default, this converter supports {@code application/xml}, {@code text/xml}, and
* {@code application/*+xml} with {@code UTF-8} character set.
* This can be overridden by setting the {@link #setSupportedMediaTypes(java.util.List) supportedMediaTypes} property.
*
* <p>The default constructor uses the default configuration provided by {@link Jackson2ObjectMapperBuilder}.