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
Nested ClassesModifier and TypeClassDescriptionstatic enumInclude error attributes options.static enumInclude Stacktrace attribute options.static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPath()booleanvoidsetIncludeBindingErrors(ErrorProperties.IncludeAttribute includeBindingErrors) voidsetIncludeException(boolean includeException) voidsetIncludeMessage(ErrorProperties.IncludeAttribute includeMessage) voidsetIncludeStacktrace(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
-