com.caucho.server.rewrite
Class RedirectQueryFilterChain

java.lang.Object
  extended by com.caucho.server.rewrite.RedirectQueryFilterChain
All Implemented Interfaces:
FilterChain

public class RedirectQueryFilterChain
extends java.lang.Object
implements FilterChain

Represents the final servlet in a filter chain.


Constructor Summary
RedirectQueryFilterChain(java.lang.String url)
          Create the redirect filter chain servlet.
 
Method Summary
 void doFilter(ServletRequest request, ServletResponse response)
          Invokes the final servlet at the end of the chain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectQueryFilterChain

public RedirectQueryFilterChain(java.lang.String url)
Create the redirect filter chain servlet.

Parameters:
url - the URL to redirect to.
Method Detail

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response)
              throws ServletException,
                     java.io.IOException
Invokes the final servlet at the end of the chain.

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