This commit is contained in:
Stephane Nicoll
2016-05-17 08:55:59 +02:00
parent f3e630933a
commit 3805fc7455
2 changed files with 3 additions and 2 deletions

View File

@@ -43,7 +43,8 @@ public class HttpEncodingProperties {
private Boolean force;
/**
* Force the encoding to the configured charset on HTTP requests.
* Force the encoding to the configured charset on HTTP requests. Defaults to true
* when "force" has not been specified.
*/
private Boolean forceRequest;

View File

@@ -269,7 +269,7 @@ content into your application; rather pick only the properties that you need.
spring.http.encoding.charset=UTF-8 # Charset of HTTP requests and responses. Added to the "Content-Type" header if not set explicitly.
spring.http.encoding.enabled=true # Enable http encoding support.
spring.http.encoding.force= # Force the encoding to the configured charset on HTTP requests and responses.
spring.http.encoding.force-request= # Force the encoding to the configured charset on HTTP requests (defaults to true when ".force" has not been specified).
spring.http.encoding.force-request= # Force the encoding to the configured charset on HTTP requests. Defaults to true when "force" has not been specified.
spring.http.encoding.force-response= # Force the encoding to the configured charset on HTTP responses.
# MULTIPART ({sc-spring-boot-autoconfigure}/web/MultipartProperties.{sc-ext}[MultipartProperties])