com.caucho.server.dispatch
Class ForwardFilterChain

java.lang.Object
  extended by com.caucho.server.dispatch.ForwardFilterChain
All Implemented Interfaces:
FilterChain

public class ForwardFilterChain
extends java.lang.Object
implements FilterChain

Does an internal forward of the request.


Constructor Summary
ForwardFilterChain(RequestDispatcher disp)
          Create the forward filter chain servlet.
ForwardFilterChain(java.lang.String url)
          Create the forward filter chain servlet.
 
Method Summary
 void doFilter(ServletRequest request, ServletResponse response)
          Forwards to the dispatch
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForwardFilterChain

public ForwardFilterChain(java.lang.String url)
Create the forward filter chain servlet.

Parameters:
url - the request dispatcher to forward to.

ForwardFilterChain

public ForwardFilterChain(RequestDispatcher disp)
Create the forward filter chain servlet.

Parameters:
disp - the request dispatcher to forward to.
Method Detail

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response)
              throws ServletException,
                     java.io.IOException
Forwards to the dispatch

Specified by:
doFilter in interface FilterChain
Parameters:
request - the servlet request
response - the servlet response
Throws:
ServletException
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object