public final class ServletSession extends AbstractMap<String,Object> implements Session
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ServletSession(javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
boolean |
isEmpty() |
Object |
put(String key,
Object value) |
Object |
remove(Object key) |
void |
save(Response response)
Save the session state to the response.
|
int |
size() |
clone, containsValue, equals, hashCode, keySet, putAll, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsValue, equals, forEach, getOrDefault, hashCode, keySet, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll, valuespublic ServletSession(javax.servlet.http.HttpServletRequest request)
public void clear()
public boolean containsKey(Object key)
containsKey in interface Map<String,Object>containsKey in class AbstractMap<String,Object>public boolean isEmpty()
public int size()
public void save(Response response) throws IOException
Sessionsave in interface Sessionresponse - The Response instance to write the session state to.IOException - If an I/O error occurs.Copyright © 2025 Open Identity Platform Community. All rights reserved.