类 ErrorProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.web.ErrorProperties
public class ErrorProperties extends Object
Configuration properties for web error handling.- 从以下版本开始:
- 1.3.0
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
ErrorProperties.IncludeStacktrace
Include Stacktrace attribute options.static class
ErrorProperties.Whitelabel
构造器概要
构造器 构造器 说明 ErrorProperties()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ErrorProperties.IncludeStacktrace
getIncludeStacktrace()
String
getPath()
ErrorProperties.Whitelabel
getWhitelabel()
boolean
isIncludeException()
void
setIncludeException(boolean includeException)
void
setIncludeStacktrace(ErrorProperties.IncludeStacktrace includeStacktrace)
void
setPath(String path)
构造器详细资料
ErrorProperties
public ErrorProperties()
方法详细资料
isIncludeException
public boolean isIncludeException()
setIncludeException
public void setIncludeException(boolean includeException)
getIncludeStacktrace
public ErrorProperties.IncludeStacktrace getIncludeStacktrace()
setIncludeStacktrace
public void setIncludeStacktrace(ErrorProperties.IncludeStacktrace includeStacktrace)
getWhitelabel
public ErrorProperties.Whitelabel getWhitelabel()