public static class Http.Flash extends HashMap<String,String>
Flash 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 flash scope.
|
String |
put(String key,
String value)
Adds the given value to the flash scope.
|
void |
putAll(Map<? extends String,? extends String> values)
Adds the given values to the flash scope.
|
String |
remove(Object key)
Removes the specified value from the flash scope.
|
clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic void putAll(Map<? extends String,? extends String> values)