"Fossies" - the Fresh Open Source Software archive

Member "urlrewrite-3.2.0-src/api/org/tuckey/web/filters/urlrewrite/RuleChain.html" (4 Dec 2008, 15548 Bytes) of package /linux/www/urlrewritefilter-3.2.0-src.zip:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted raw source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.



org.tuckey.web.filters.urlrewrite
Class RuleChain

java.lang.Object
  extended by org.tuckey.web.filters.urlrewrite.RuleChain
All Implemented Interfaces:
javax.servlet.FilterChain

public class RuleChain
extends java.lang.Object
implements javax.servlet.FilterChain

Chain of rules. Implemented as a chain so that java rules can filter the request, resposne.

Version:
$Revision: 33 $ $Date: 2006-09-12 16:41:56 +1200 (Tue, 12 Sep 2006) $
Author:
Paul Tuckey

Constructor Summary
RuleChain(UrlRewriter urlRewriter, java.lang.String originalUrl, javax.servlet.FilterChain parentChain)
           
 
Method Summary
 void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
           
 void doRules(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
           
 RewrittenUrl getFinalRewrittenRequest()
           
 boolean isResponseHandled()
           
 void process(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleChain

public RuleChain(UrlRewriter urlRewriter,
                 java.lang.String originalUrl,
                 javax.servlet.FilterChain parentChain)
Method Detail

getFinalRewrittenRequest

public RewrittenUrl getFinalRewrittenRequest()

isResponseHandled

public boolean isResponseHandled()

doFilter

public void doFilter(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response)
              throws java.io.IOException,
                     javax.servlet.ServletException
Specified by:
doFilter in interface javax.servlet.FilterChain
Throws:
java.io.IOException
javax.servlet.ServletException

process

public void process(javax.servlet.ServletRequest request,
                    javax.servlet.ServletResponse response)
             throws java.io.IOException,
                    javax.servlet.ServletException,
                    java.lang.reflect.InvocationTargetException
Throws:
java.io.IOException
javax.servlet.ServletException
java.lang.reflect.InvocationTargetException

doRules

public void doRules(javax.servlet.ServletRequest request,
                    javax.servlet.ServletResponse response)
             throws java.io.IOException,
                    javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException