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 class
ErrorProperties.IncludeStacktrace
Include Stacktrace attribute options.static class
ErrorProperties.Whitelabel
Constructor Summary
Constructors Constructor Description ErrorProperties()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorProperties.IncludeStacktrace
getIncludeStacktrace()
String
getPath()
ErrorProperties.Whitelabel
getWhitelabel()
boolean
isIncludeException()
void
setIncludeException(boolean includeException)
void
setIncludeStacktrace(ErrorProperties.IncludeStacktrace includeStacktrace)
void
setPath(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()