Class ParameterMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<String,org.apache.sling.api.request.RequestParameter[]>
-
- org.apache.sling.engine.impl.parameters.ParameterMap
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,org.apache.sling.api.request.RequestParameter[]>
,org.apache.sling.api.request.RequestParameterMap
public class ParameterMap extends LinkedHashMap<String,org.apache.sling.api.request.RequestParameter[]> implements org.apache.sling.api.request.RequestParameterMap
TheParameterMap
TODO- See Also:
- Serialized Form
-
-
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 Constructor Description ParameterMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Object
getPart(String name)
Collection<?>
getParts()
List<org.apache.sling.api.request.RequestParameter>
getRequestParameterList()
Map<String,String[]>
getStringParameterMap()
String
getStringValue(String name)
String[]
getStringValues(String name)
org.apache.sling.api.request.RequestParameter
getValue(String name)
org.apache.sling.api.request.RequestParameter[]
getValues(String name)
org.apache.sling.api.request.RequestParameter[]
put(String key, org.apache.sling.api.request.RequestParameter[] value)
void
putAll(Map<? extends String,? extends org.apache.sling.api.request.RequestParameter[]> t)
org.apache.sling.api.request.RequestParameter[]
remove(Object key)
-
Methods inherited from class java.util.LinkedHashMap
containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putIfAbsent, remove, replace, replace, size
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods 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
-
-
-
-
Method Detail
-
getValue
public org.apache.sling.api.request.RequestParameter getValue(String name)
- Specified by:
getValue
in interfaceorg.apache.sling.api.request.RequestParameterMap
-
getValues
public org.apache.sling.api.request.RequestParameter[] getValues(String name)
- Specified by:
getValues
in interfaceorg.apache.sling.api.request.RequestParameterMap
-
getParts
public Collection<?> getParts()
-
getRequestParameterList
public List<org.apache.sling.api.request.RequestParameter> getRequestParameterList()
-
clear
public void clear()
-
put
public org.apache.sling.api.request.RequestParameter[] put(String key, org.apache.sling.api.request.RequestParameter[] value)
-
putAll
public void putAll(Map<? extends String,? extends org.apache.sling.api.request.RequestParameter[]> t)
-
-