AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PortletRequestMap(javax.portlet.PortletRequest request)
Saves the request to use as the backing for getting and setting values
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all attributes from the request as well as clears entries in this
map.
|
Set<Map.Entry<String,Object>> |
entrySet()
Returns a Set of attributes from the portlet request.
|
Object |
get(Object key)
Returns the request attribute associated with the given key or
null if it doesn't exist.
|
Object |
put(String key,
Object value)
Saves an attribute in the request.
|
Object |
remove(Object key)
Removes the specified request attribute.
|
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public PortletRequestMap(javax.portlet.PortletRequest request)
request
- the portlet request.public void clear()
public Set<Map.Entry<String,Object>> entrySet()
public Object get(Object key)
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.