Class RequestVariableResolver

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
org.apache.felix.webconsole.servlet.RequestVariableResolver
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>
Direct Known Subclasses:
DefaultVariableResolver

public class RequestVariableResolver extends HashMap<String,Object>
The RequestVariableResolver is a HashMap that is used by the webconsole to process variables in the template. The resolver is stored as a request attribute with the name REQUEST_ATTRIBUTE.
See Also:
  • Field Details

  • Constructor Details

    • RequestVariableResolver

      public RequestVariableResolver()
      Creates a new variable resolver with default capacity.
  • Method Details

    • resolve

      public String resolve(String variable)
      Returns the string representation of the value stored under the variable name in this map. If no value is stored under the variable name, null is returned.
      Parameters:
      variable - The name of the variable whose value is to be returned.
      Returns:
      The variable value or null if there is no entry with the given name in this map.