org.apache.geronimo.console.servlet
Class ForwardDispatchFilter
java.lang.Object
org.apache.geronimo.console.servlet.ForwardDispatchFilter
- All Implemented Interfaces:
- Filter
public class ForwardDispatchFilter
- extends Object
- implements Filter
Filter that wrappers HTTP requests forwarded from a separate
context via a named request dispatcher. The wrapped HTTP
requests return attributes from the original request instead
of the forwarded instance of the request. Deployment
descriptors that use this filter should specify "FORWARD" as
the dispatcher type in their filter-mapping elements, as per
the 2.4 Servlet Specification. e.g.
myfilter
myservlet
FORWARD
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filterConfig
protected FilterConfig filterConfig
ForwardDispatchFilter
public ForwardDispatchFilter()
init
public void init(FilterConfig config)
throws ServletException
- Specified by:
init
in interface Filter
- Throws:
ServletException
doFilter
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException,
ServletException
- Specified by:
doFilter
in interface Filter
- Throws:
IOException
ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface Filter
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.