@ConfigurationProperties(prefix="spring.http.encoding") public class HttpEncodingProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HttpEncodingProperties.Type |
Modifier and Type | Field and Description |
---|---|
static Charset |
DEFAULT_CHARSET |
Constructor and Description |
---|
HttpEncodingProperties() |
Modifier and Type | Method and Description |
---|---|
Charset |
getCharset() |
Map<Locale,Charset> |
getMapping() |
boolean |
isForce() |
boolean |
isForceRequest() |
boolean |
isForceResponse() |
void |
setCharset(Charset charset) |
void |
setForce(boolean force) |
void |
setForceRequest(boolean forceRequest) |
void |
setForceResponse(boolean forceResponse) |
void |
setMapping(Map<Locale,Charset> mapping) |
boolean |
shouldForce(HttpEncodingProperties.Type type) |
public static final Charset DEFAULT_CHARSET
public Charset getCharset()
public void setCharset(Charset charset)
public boolean isForce()
public void setForce(boolean force)
public boolean isForceRequest()
public void setForceRequest(boolean forceRequest)
public boolean isForceResponse()
public void setForceResponse(boolean forceResponse)
public boolean shouldForce(HttpEncodingProperties.Type type)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.