Class Substitution
- java.lang.Object
-
- org.apache.catalina.valves.rewrite.Substitution
-
public class Substitution extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSubstitution.MapElementstatic classSubstitution.RewriteCondBackReferenceElementclassSubstitution.RewriteRuleBackReferenceElementstatic classSubstitution.ServerVariableElementstatic classSubstitution.ServerVariableEnvElementstatic classSubstitution.ServerVariableHttpElementstatic classSubstitution.ServerVariableSslElementstatic classSubstitution.StaticElementstatic classSubstitution.SubstitutionElement
-
Field Summary
Fields Modifier and Type Field Description protected Substitution.SubstitutionElement[]elementsprotected Stringsub
-
Constructor Summary
Constructors Constructor Description Substitution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringevaluate(Matcher rule, Matcher cond, Resolver resolver)Evaluate the substitution based on the context.StringgetSub()voidparse(Map<String,RewriteMap> maps)voidsetSub(String sub)
-
-
-
Field Detail
-
elements
protected Substitution.SubstitutionElement[] elements
-
sub
protected String sub
-
-
Method Detail
-
getSub
public String getSub()
-
setSub
public void setSub(String sub)
-
parse
public void parse(Map<String,RewriteMap> maps)
-
-