Filter, FilterChain, FilterConfig classes for servlet filtering
The following interfaces are defined as part of the javax.servlet package:
- Filter interface - methods: doFilter(), getFilterConfig(), setFilterConfig()
- FilterChain interface - methods: doFilter()
- FilterConfig interface - methods: getFilterName(), getInitParameter(), getInitParameterNames(), getServletContext()
The following classes are defined as part of the javax.servlet.http package...
- HttpServletRequestWrapper - methods: See the Servlet 2.3 Specification
- HttpServletResponseWrapper - methods: See the Servlet 2.3 Specification
See Also
Servlet filtering
Example: com.ibm.websphere.LoggingFilter.java
Webapplications: Resources for learning