Adds a value to the flash scope, and returns a new flash scope.
Adds a value to the flash scope, and returns a new flash scope.
For example:
flash + ("success" -> "Done!")
the key-value pair to add
the modified flash scope
Adds a number of elements provided by the given map object and returns a new flash scope with the added elements.
Removes values from the flash scope.
Removes values from the flash scope.
For example:
flash - "success"
the keys to remove
the modified flash scope
Adds a value to the flash scope, and returns a new flash scope.
Adds a value to the flash scope, and returns a new flash scope.
This is an alias method to +.
the key-value pair to add
the modified flash scope
Adds a number of elements provided by the given map object and returns a new flash scope with the added elements.
Retrieves the flash value that is associated with the given key.
Optionally returns the flash value associated with a key.
Returns true
if this flash scope is empty.
Removes values from the flash scope.
Removes values from the flash scope.
the keys to remove
the modified flash scope
HTTP Flash scope.
Flash data are encoded into an HTTP cookie, and can only contain simple
String
values.