Class Substitution.ServerVariableHttpElement
java.lang.Object
org.apache.catalina.valves.rewrite.Substitution.SubstitutionElement
org.apache.catalina.valves.rewrite.Substitution.ServerVariableHttpElement
- Enclosing class:
Substitution
Substitution element that resolves an HTTP header variable.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
key
The HTTP header name to resolve.
-
-
Constructor Details
-
ServerVariableHttpElement
public ServerVariableHttpElement()Constructs a new ServerVariableHttpElement.
-
-
Method Details
-
evaluate
Description copied from class:Substitution.SubstitutionElementEvaluates this element against the given matchers and resolver.- Specified by:
evaluatein classSubstitution.SubstitutionElement- Parameters:
rule- the rewrite rule matchercond- the condition matcherresolver- the property resolver- Returns:
- the evaluated string
-