org.tuckey.web.filters.urlrewrite
Class RuleExecutionOutput
java.lang.Object
org.tuckey.web.filters.urlrewrite.RuleExecutionOutput
public class RuleExecutionOutput
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleExecutionOutput
public RuleExecutionOutput(java.lang.String replacedUrl,
boolean ruleMatched,
RewriteMatch lastRunMatch)
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)