Class HttpEncodingProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.web.HttpEncodingProperties
@ConfigurationProperties(prefix="spring.http.encoding") public class HttpEncodingProperties extends Object
Configuration properties for http encoding.- Since:
- 1.2.0
Field Summary
Fields Modifier and Type Field Description static Charset
DEFAULT_CHARSET
Constructor Summary
Constructors Constructor Description HttpEncodingProperties()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
Field Detail
DEFAULT_CHARSET
public static final Charset DEFAULT_CHARSET
Constructor Detail
HttpEncodingProperties
public HttpEncodingProperties()
Method Detail
getCharset
public Charset getCharset()
setCharset
public void setCharset(Charset charset)
isForce
public boolean isForce()
setForce
public void setForce(boolean force)
isForceRequest
public boolean isForceRequest()
setForceRequest
public void setForceRequest(boolean forceRequest)
isForceResponse
public boolean isForceResponse()
setForceResponse
public void setForceResponse(boolean forceResponse)
getMapping
public Map<Locale,Charset> getMapping()
setMapping
public void setMapping(Map<Locale,Charset> mapping)