public class PortletSessionAttributeMap
extends AbstractMap<String,Object>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PortletSessionAttributeMap.AttributeNameMapper |
| Modifier and Type | Field and Description |
|---|---|
protected javax.servlet.http.HttpSession |
httpSession |
protected String |
scopePrefix |
| Constructor and Description |
|---|
PortletSessionAttributeMap(javax.servlet.http.HttpSession httpSession) |
PortletSessionAttributeMap(javax.servlet.http.HttpSession httpSession,
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() |
protected final javax.servlet.http.HttpSession httpSession
protected final String scopePrefix
public PortletSessionAttributeMap(javax.servlet.http.HttpSession httpSession)
public PortletSessionAttributeMap(javax.servlet.http.HttpSession httpSession,
String scopePrefix)
public void clear()
clear in interface Map<String,Object>clear in class AbstractMap<String,Object>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 Set<Map.Entry<String,Object>> entrySet()
entrySet in interface Map<String,Object>entrySet in class AbstractMap<String,Object>public Object get(Object key)
get in interface Map<String,Object>get in class AbstractMap<String,Object>public boolean isEmpty()
isEmpty in interface Map<String,Object>isEmpty in class AbstractMap<String,Object>public Set<String> keySet()
keySet in interface Map<String,Object>keySet in class AbstractMap<String,Object>public Object put(String key,
Object value)
put in interface Map<String,Object>put in class AbstractMap<String,Object>public void putAll(Map<? extends String,?> map)
putAll in interface Map<String,Object>putAll in class AbstractMap<String,Object>public Object remove(Object key)
remove in interface Map<String,Object>remove in class AbstractMap<String,Object>public int size()
size in interface Map<String,Object>size in class AbstractMap<String,Object>public Collection<Object> values()
values in interface Map<String,Object>values in class AbstractMap<String,Object>protected String encodeKey(String key)
protected Enumeration<String> getAttributeNames(boolean removePrefix)