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()
           
 RewriteMatch getRewriteMatch()
           
static RewrittenUrl getRewritenUrl(short toType, boolean encodeToUrl, RuleExecutionOutput ruleExecutionOutput)
          Will perform the action defined by the rule ie, redirect or passthrough.
 boolean isRuleMatched()
           
 boolean isStopFilterMatch()
           
 void setReplacedUrl(java.lang.String replacedUrl)
           
 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()