public class Substitution
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Substitution.MapElement |
class |
Substitution.RewriteCondBackReferenceElement |
class |
Substitution.RewriteRuleBackReferenceElement |
class |
Substitution.ServerVariableElement |
class |
Substitution.ServerVariableEnvElement |
class |
Substitution.ServerVariableHttpElement |
class |
Substitution.ServerVariableSslElement |
class |
Substitution.StaticElement |
class |
Substitution.SubstitutionElement |
Modifier and Type | Field and Description |
---|---|
protected Substitution.SubstitutionElement[] |
elements |
protected java.lang.String |
sub |
Constructor and Description |
---|
Substitution() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
evaluate(java.util.regex.Matcher rule,
java.util.regex.Matcher cond,
Resolver resolver)
Evaluate the substitution based on the context
|
java.lang.String |
getSub() |
void |
parse(java.util.Map<java.lang.String,RewriteMap> maps) |
void |
setSub(java.lang.String sub) |
protected Substitution.SubstitutionElement[] elements
protected java.lang.String sub
public java.lang.String getSub()
public void setSub(java.lang.String sub)
public void parse(java.util.Map<java.lang.String,RewriteMap> maps)
public java.lang.String evaluate(java.util.regex.Matcher rule, java.util.regex.Matcher cond, Resolver resolver)
rule
- corresponding matched rulecond
- last matched conditionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.