public class ErrorLoggingFilter
extends org.springframework.web.filter.OncePerRequestFilter
javax.servlet.Filter
interface. This filter should be configured as the top of the web application's
filter chain and will record any uncaught exceptions from the chain using
the configured ErrorLogManager.
To take advantage of Spring dependency injection,
this bean can be specified as the target of a DelegatingFilterProxy.| Constructor and Description |
|---|
ErrorLoggingFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain) |
void |
setErrorLogManager(ErrorLogManager errorlogManager) |
doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatchprotected void doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
throws javax.servlet.ServletException,
java.io.IOException
doFilterInternal in class org.springframework.web.filter.OncePerRequestFilterjavax.servlet.ServletExceptionjava.io.IOExceptionpublic void setErrorLogManager(ErrorLogManager errorlogManager)
Copyright © 2007-2019 Apereo. All Rights Reserved.