|
|
@ -76,10 +76,7 @@ public abstract class AbstractErrorController implements ErrorController {
|
|
|
|
|
|
|
|
|
|
|
|
protected boolean getTraceParameter(HttpServletRequest request) {
|
|
|
|
protected boolean getTraceParameter(HttpServletRequest request) {
|
|
|
|
String parameter = request.getParameter("trace");
|
|
|
|
String parameter = request.getParameter("trace");
|
|
|
|
if (parameter == null) {
|
|
|
|
return !"false".equalsIgnoreCase(parameter);
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return !"false".equals(parameter.toLowerCase());
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected HttpStatus getStatus(HttpServletRequest request) {
|
|
|
|
protected HttpStatus getStatus(HttpServletRequest request) {
|
|
|
|