public class RuleExecutionOutput
extends java.lang.Object
| 构造器和说明 |
|---|
RuleExecutionOutput(java.lang.String replacedUrl,
boolean ruleMatched,
RewriteMatch lastRunMatch) |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
public RuleExecutionOutput(java.lang.String replacedUrl,
boolean ruleMatched,
RewriteMatch lastRunMatch)
public static RewrittenUrl getRewritenUrl(short toType, boolean encodeToUrl, RuleExecutionOutput ruleExecutionOutput)
toType - shortencodeToUrl - booleanruleExecutionOutput - RuleExecutionOutputpublic java.lang.String getReplacedUrl()
public boolean isRuleMatched()
public boolean isStopFilterMatch()
public void setStopFilterMatch(boolean stopFilterMatch)
public void setReplacedUrl(java.lang.String replacedUrl)
public RewriteMatch getRewriteMatch()
public javax.servlet.ServletContext getReplacedUrlContext()
public void setReplacedUrlContext(javax.servlet.ServletContext replacedUrlContext)
replacedUrlContext - the replacedUrlContext to setpublic boolean isNoSubstitution()
public void setNoSubstitution(boolean noSubstitution)