Class Substitution

java.lang.Object
org.apache.catalina.valves.rewrite.Substitution

public class Substitution extends Object
  • Field Details

  • Constructor Details

    • Substitution

      public Substitution()
  • Method Details

    • getSub

      public String getSub()
    • setSub

      public void setSub(String sub)
    • parse

      public void parse(Map<String,RewriteMap> maps)
    • evaluate

      public String evaluate(Matcher rule, Matcher cond, Resolver resolver)
      Evaluate the substitution based on the context.
      Parameters:
      rule - corresponding matched rule
      cond - last matched condition
      resolver - The property resolver
      Returns:
      The substitution result