Class ParameterMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,RequestParameter[]>
org.apache.sling.engine.impl.parameters.ParameterMap
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,,RequestParameter[]> RequestParameterMap
public class ParameterMap
extends LinkedHashMap<String,RequestParameter[]>
implements RequestParameterMap
The
ParameterMap TODO- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Collection<?>getParts()getStringValue(String name) String[]getStringValues(String name) Returns the first value for the named parameter or null if noneReturns all values for the named parameter or null if noneput(String key, RequestParameter[] value) voidputAll(Map<? extends String, ? extends RequestParameter[]> t) Methods inherited from class java.util.LinkedHashMap
containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesMethods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putIfAbsent, remove, replace, replace, sizeMethods inherited from class java.util.AbstractMap
equals, hashCode, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, values
-
Constructor Details
-
ParameterMap
public ParameterMap()
-
-
Method Details
-
getValue
Description copied from interface:RequestParameterMapReturns the first value for the named parameter or null if none- Specified by:
getValuein interfaceRequestParameterMap- Parameters:
name- The parameter name- Returns:
- The request parameter or
null.
-
getValues
Description copied from interface:RequestParameterMapReturns all values for the named parameter or null if none- Specified by:
getValuesin interfaceRequestParameterMap- Parameters:
name- The parameter name- Returns:
- The request parameter array or
null.
-
getStringValue
-
getStringValues
-
getStringParameterMap
-
getPart
-
getParts
-
getRequestParameterList
-
clear
public void clear()- Specified by:
clearin interfaceMap<String,RequestParameter[]> - Overrides:
clearin classLinkedHashMap<String,RequestParameter[]>
-
put
- Specified by:
putin interfaceMap<String,RequestParameter[]> - Overrides:
putin classHashMap<String,RequestParameter[]>
-
putAll
- Specified by:
putAllin interfaceMap<String,RequestParameter[]> - Overrides:
putAllin classHashMap<String,RequestParameter[]>
-
remove
- Specified by:
removein interfaceMap<String,RequestParameter[]> - Overrides:
removein classHashMap<String,RequestParameter[]>
-