@ConfigurationProperties(prefix="server.error", ignoreUnknownFields=true) public class DefaultStackTraceIndicator extends Object implements StackTraceIndicator
Constructor and Description |
---|
DefaultStackTraceIndicator() |
Modifier and Type | Method and Description |
---|---|
void |
setIncludeStacktrace(org.springframework.boot.autoconfigure.web.ErrorProperties.IncludeStacktrace includeStacktrace) |
Boolean |
stackTrace(javax.servlet.http.HttpServletRequest request,
org.springframework.http.MediaType produces)
is trace enabled.
|
public Boolean stackTrace(javax.servlet.http.HttpServletRequest request, org.springframework.http.MediaType produces)
StackTraceIndicator
stackTrace
in interface StackTraceIndicator
request
- request nullableproduces
- produces nullablepublic void setIncludeStacktrace(org.springframework.boot.autoconfigure.web.ErrorProperties.IncludeStacktrace includeStacktrace)
Copyright © 2017. All rights reserved.