now

object now

Sets a value for the current request only. It will be removed before the next request unless explicitly kept. Data put in this object is available as usual:

flash.now("notice") = "logged in successfully"
flash("notice") // "logged in successfully"
class Object
trait Matchable
class Any
now.type

Value members

Concrete methods

def update(key: String, value: Any): Map[String, Any]