play.api.mvc

Flash

case class Flash (data: Map[String, String]) extends Product with Serializable

HTTP Flash scope.

Flash data are encoded into an HTTP cookie, and can only contain simple String values.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Flash
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Flash (data: Map[String, String])

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def + (kv: (String, String)): Flash

    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!")
    
    kv

    the key-value pair to add

    returns

    the modified flash scope

  5. def - (key: String): Flash

    Removes a value from the flash scope.

    Removes a value from the flash scope.

    For example:

    flash - "success"
    
    key

    the key to remove

    returns

    the modified flash scope

  6. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  7. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  8. def apply (key: String): String

    Retrieves the flash value that is associated with the given key.

  9. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  10. def canEqual (arg0: Any): Boolean

    Definition Classes
    Flash → Equals
  11. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. val data : Map[String, String]

  13. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  14. def equals (arg0: Any): Boolean

    Definition Classes
    Flash → Equals → AnyRef → Any
  15. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def get (key: String): Option[String]

    Optionally returns the flash value associated with a key.

  17. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  18. def hashCode (): Int

    Definition Classes
    Flash → AnyRef → Any
  19. def isEmpty : Boolean

    Returns true if this flash scope is empty.

  20. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  21. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  22. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  23. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def productArity : Int

    Definition Classes
    Flash → Product
  25. def productElement (arg0: Int): Any

    Definition Classes
    Flash → Product
  26. def productIterator : Iterator[Any]

    Definition Classes
    Product
  27. def productPrefix : String

    Definition Classes
    Flash → Product
  28. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  29. def toString (): String

    Definition Classes
    Flash → AnyRef → Any
  30. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any