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
Removes a value from the flash scope.
Removes a value from the flash scope.
For example:
flash - "success"
the key to remove
the modified flash scope
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.
HTTP Flash scope.
Flash data are encoded into an HTTP cookie, and can only contain simple
String
values.