Make ErrorPageFilter.getDescription protected

Make `ErrorPageFilter#getDescription` `protected` instead of `private`
to be able to customize the details for the request logged in case of
an error.

Fixes gh-7380
Closes gh-7393
pull/6961/merge
Stéphane Daviet 8 years ago committed by Phillip Webb
parent 7daf69a393
commit 004528777f

@ -185,7 +185,7 @@ public class ErrorPageFilter implements Filter, ErrorPageRegistry {
request.getRequestDispatcher(path).forward(request, response);
}
private String getDescription(HttpServletRequest request) {
protected String getDescription(HttpServletRequest request) {
return "[" + request.getServletPath()
+ (request.getPathInfo() == null ? "" : request.getPathInfo()) + "]";
}

Loading…
Cancel
Save