public class RewriteCondition extends Object implements org.springframework.beans.factory.InitializingBean
Modifier and Type | Class and Description |
---|---|
static class |
RewriteCondition.ConditionFlags
代表condition的标志位。
|
Constructor and Description |
---|
RewriteCondition() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
RewriteCondition.ConditionFlags |
getConditionFlags() |
String |
getFlags() |
MatchResult |
match(MatchResult ruleMatchResult,
MatchResult conditionMatchResult,
javax.servlet.http.HttpServletRequest request) |
void |
setFlags(String flags) |
void |
setPattern(String patternString) |
void |
setTest(String testString) |
String |
toString() |
public void setTest(String testString)
public void setPattern(String patternString) throws PatternSyntaxException
PatternSyntaxException
public String getFlags()
public void setFlags(String flags)
public RewriteCondition.ConditionFlags getConditionFlags()
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public MatchResult match(MatchResult ruleMatchResult, MatchResult conditionMatchResult, javax.servlet.http.HttpServletRequest request)
Copyright © 2006–2018 TinyGroup. All rights reserved.