org.springframework.web.filter |
Provides generic filter base classes allowing for bean-style configuration.
|
Java Source File Name | Type | Comment |
AbstractRequestLoggingFilter.java | Class | Base class for Filter s that perform logging operations before and after a
request is processed.
Subclasses should override the beforeRequest(HttpServletRequest, String)
and afterRequest(HttpServletRequest, String) methods to perform the actual
logging around the request.
Subclasses are passed the message to write to the log in the beforeRequest
and afterRequest methods. |
CharacterEncodingFilter.java | Class | Servlet 2.3/2.4 Filter that allows one to specify a character encoding for
requests. |
CommonsRequestLoggingFilter.java | Class | Simple request logging filter that writes the request URI
(and optionally the query string) to the Commons Log. |
DelegatingFilterProxy.java | Class | Proxy for a standard Servlet 2.3 Filter, delegating to a Spring-managed
bean that implements the Filter interface. |
GenericFilterBean.java | Class | Simple base implementation of
javax.servlet.Filter which treats
its config parameters (init-param entries within the
filter tag in web.xml ) as bean properties.
A handy superclass for any type of filter. |
Log4jNestedDiagnosticContextFilter.java | Class | Request logging filter that adds the request log message to the Log4J
nested diagnostic context (NDC) before the request is processed,
removing it again after the request is processed. |
OncePerRequestFilter.java | Class | Filter base class that guarantees to be just executed once per request,
on any servlet container. |
RequestContextFilter.java | Class | Servlet 2.3+ filter that exposes the request to the current thread,
through both
org.springframework.context.i18n.LocaleContextHolder and
RequestContextHolder . |
ServletContextRequestLoggingFilter.java | Class | Simple request logging filter that writes the request URI
(and optionally the query string) to the ServletContext log. |