Class ParameterMap

    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      ParameterMap()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String[]> getStringParameterMap()  
      java.lang.String getStringValue​(java.lang.String name)  
      java.lang.String[] getStringValues​(java.lang.String name)  
      RequestParameter getValue​(java.lang.String name)
      Returns the first value for the named parameter or null if none
      RequestParameter[] getValues​(java.lang.String name)
      Returns all values for the named parameter or null if none
      • Methods inherited from class java.util.TreeMap

        ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode, isEmpty, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size
    • Constructor Detail

      • ParameterMap

        public ParameterMap()
    • Method Detail

      • getValues

        public RequestParameter[] getValues​(java.lang.String name)
        Description copied from interface: RequestParameterMap
        Returns all values for the named parameter or null if none
        Specified by:
        getValues in interface RequestParameterMap
        Parameters:
        name - The parameter name
        Returns:
        The request parameter array or null.
      • getValue

        public RequestParameter getValue​(java.lang.String name)
        Description copied from interface: RequestParameterMap
        Returns the first value for the named parameter or null if none
        Specified by:
        getValue in interface RequestParameterMap
        Parameters:
        name - The parameter name
        Returns:
        The request parameter or null.
      • getStringValue

        public java.lang.String getStringValue​(java.lang.String name)
      • getStringValues

        public java.lang.String[] getStringValues​(java.lang.String name)
      • getStringParameterMap

        public java.util.Map<java.lang.String,​java.lang.String[]> getStringParameterMap()