org.tuckey.web.filters.urlrewrite
Class RuleExecutionOutput

java.lang.Object
  extended by org.tuckey.web.filters.urlrewrite.RuleExecutionOutput

public class RuleExecutionOutput
extends java.lang.Object


Constructor Summary
RuleExecutionOutput(java.lang.String replacedUrl, boolean ruleMatched, RewriteMatch lastRunMatch)
           
 
Method Summary
 java.lang.String getReplacedUrl()
           
 javax.servlet.ServletContext getReplacedUrlContext()
           
 RewriteMatch getRewriteMatch()
           
static RewrittenUrl getRewritenUrl(short toType, boolean encodeToUrl, RuleExecutionOutput ruleExecutionOutput)
          Will perform the action defined by the rule ie, redirect or passthrough.
 boolean isNoSubstitution()
           
 boolean isRuleMatched()
           
 boolean isStopFilterMatch()
           
 void setNoSubstitution(boolean noSubstitution)
           
 void setReplacedUrl(java.lang.String replacedUrl)
           
 void setReplacedUrlContext(javax.servlet.ServletContext replacedUrlContext)
           
 void setStopFilterMatch(boolean stopFilterMatch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleExecutionOutput

public RuleExecutionOutput(java.lang.String replacedUrl,
                           boolean ruleMatched,
                           RewriteMatch lastRunMatch)
Method Detail

getRewritenUrl

public static RewrittenUrl getRewritenUrl(short toType,
                                          boolean encodeToUrl,
                                          RuleExecutionOutput ruleExecutionOutput)
Will perform the action defined by the rule ie, redirect or passthrough.

Parameters:
ruleExecutionOutput -

getReplacedUrl

public java.lang.String getReplacedUrl()

isRuleMatched

public boolean isRuleMatched()

isStopFilterMatch

public boolean isStopFilterMatch()

setStopFilterMatch

public void setStopFilterMatch(boolean stopFilterMatch)

setReplacedUrl

public void setReplacedUrl(java.lang.String replacedUrl)

getRewriteMatch

public RewriteMatch getRewriteMatch()

getReplacedUrlContext

public javax.servlet.ServletContext getReplacedUrlContext()
Returns:
the replacedUrlContext

setReplacedUrlContext

public void setReplacedUrlContext(javax.servlet.ServletContext replacedUrlContext)
Parameters:
replacedUrlContext - the replacedUrlContext to set

isNoSubstitution

public boolean isNoSubstitution()

setNoSubstitution

public void setNoSubstitution(boolean noSubstitution)