Class ErrorProperties
java.lang.Object
org.springframework.boot.autoconfigure.web.ErrorProperties
Configuration properties for web error handling.
- Since:
- 1.3.0
- Author:
- Michael Stummvoll, Stephane Nicoll, Vedran Pavic, Scott Frederick
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Include error attributes options.static enum
Include Stacktrace attribute options.static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPath()
boolean
void
setIncludeBindingErrors
(ErrorProperties.IncludeAttribute includeBindingErrors) void
setIncludeException
(boolean includeException) void
setIncludeMessage
(ErrorProperties.IncludeAttribute includeMessage) void
setIncludeStacktrace
(ErrorProperties.IncludeAttribute includeStacktrace) void
-
Constructor Details
-
ErrorProperties
public ErrorProperties()
-
-
Method Details
-
getPath
-
setPath
-
isIncludeException
public boolean isIncludeException() -
setIncludeException
public void setIncludeException(boolean includeException) -
getIncludeStacktrace
-
setIncludeStacktrace
-
getIncludeMessage
-
setIncludeMessage
-
getIncludeBindingErrors
-
setIncludeBindingErrors
-
getWhitelabel
-