类 HttpProperties.Encoding
- java.lang.Object
- org.springframework.boot.autoconfigure.http.HttpProperties.Encoding
- 封闭类:
- HttpProperties
public static class HttpProperties.Encoding extends Object
Configuration properties for http encoding.
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
HttpProperties.Encoding.Type
字段概要
字段 修饰符和类型 字段 说明 static Charset
DEFAULT_CHARSET
构造器概要
构造器 构造器 说明 Encoding()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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(HttpProperties.Encoding.Type type)
字段详细资料
DEFAULT_CHARSET
public static final Charset DEFAULT_CHARSET
构造器详细资料
Encoding
public Encoding()
方法详细资料
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)
shouldForce
public boolean shouldForce(HttpProperties.Encoding.Type type)