Class ErrorProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.web.ErrorProperties
public class ErrorProperties extends Object
Configuration properties for web error handling.- Since:
- 1.3.0
Nested Class Summary
Nested Classes Modifier and Type Class Description static classErrorProperties.IncludeStacktraceInclude Stacktrace attribute options.static classErrorProperties.Whitelabel
Constructor Summary
Constructors Constructor Description ErrorProperties()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorProperties.IncludeStacktracegetIncludeStacktrace()StringgetPath()ErrorProperties.WhitelabelgetWhitelabel()booleanisIncludeException()voidsetIncludeException(boolean includeException)voidsetIncludeStacktrace(ErrorProperties.IncludeStacktrace includeStacktrace)voidsetPath(String path)
Constructor Detail
ErrorProperties
public ErrorProperties()
Method Detail
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()