Substitution.MapElement (Apache Tomcat 9.0.117 API Documentation)
Description: declaration: package: org.apache.catalina.valves.rewrite, class: Substitution, class: MapElement

# Class Substitution.MapElement

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

Enclosing class:
  `Substitution`

public class Substitution.MapElement extends Substitution.SubstitutionElement

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `Substitution.SubstitutionElement[]`
  `defaultValue`
  `Substitution.SubstitutionElement[]`
  `key`
  `RewriteMap`
  `map`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MapElement()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `evaluate(Matcher rule, Matcher cond, Resolver resolver)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### map

    public RewriteMap map

  - ### defaultValue

    public Substitution.SubstitutionElement[] defaultValue

  - ### key

    public Substitution.SubstitutionElement[] key

- ## Constructor Details

  - ### MapElement

    public MapElement()

- ## Method Details

  - ### evaluate

    public String evaluate(Matcher rule, Matcher cond, Resolver resolver)
    Specified by:
      `evaluate` in class `Substitution.SubstitutionElement`