public class HttpSessionMap extends Object implements SessionMap
| Constructor and Description |
|---|
HttpSessionMap(javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
boolean |
exists() |
Object |
get(Object key) |
Object |
get(String key,
Object defaultValueIfNull) |
Object |
getId() |
void |
invalidate()
invalidates the underlying HTTP session
|
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,? extends Object> map) |
Object |
remove(Object key) |
int |
size() |
Collection<Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic HttpSessionMap(javax.servlet.http.HttpServletRequest request)
public boolean containsKey(Object key)
containsKey in interface Map<String,Object>public boolean containsValue(Object value)
containsValue in interface Map<String,Object>public boolean exists()
exists in interface SessionMappublic Object get(String key, Object defaultValueIfNull)
get in interface SessionMappublic Object getId()
getId in interface SessionMappublic void invalidate()
SessionMapinvalidate in interface SessionMapCopyright © 2010–2021 Vegard IT GmbH, Germany. All rights reserved.