public static class Http.Session extends HashMap<String,String>
Session data are encoded into an HTTP cookie, and can only contain simple String values.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
boolean |
isDirty |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the session.
|
String |
put(String key,
String value)
Adds the given value to the session.
|
void |
putAll(Map<? extends String,? extends String> values)
Adds the given values to the session.
|
String |
remove(Object key)
Removes the specified value from the session.
|
clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toString