Modifier and Type | Class and Description |
---|---|
protected static class |
PortletSessionAttributeMap.AttributeNameMapper |
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
protected String |
scopePrefix |
protected javax.servlet.http.HttpSession |
session |
Constructor and Description |
---|
PortletSessionAttributeMap(javax.servlet.http.HttpSession session) |
PortletSessionAttributeMap(javax.servlet.http.HttpSession session,
String scopePrefix) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
protected String |
encodeKey(String key) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
protected Enumeration<String> |
getAttributeNames(boolean removePrefix) |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,?> map) |
Object |
remove(Object key) |
int |
size() |
Collection<Object> |
values() |
clone, equals, hashCode, toString
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected final String scopePrefix
protected final javax.servlet.http.HttpSession session
public PortletSessionAttributeMap(javax.servlet.http.HttpSession session)
public PortletSessionAttributeMap(javax.servlet.http.HttpSession session, String scopePrefix)
public void clear()
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
containsKey
in class AbstractMap<String,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
containsValue
in class AbstractMap<String,Object>
public boolean isEmpty()
public int size()
public Collection<Object> values()
protected Enumeration<String> getAttributeNames(boolean removePrefix)