object Flash

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Flash
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Backend extends AnyRef

    Flash.Backend represents a flash-scope that is not cookie-based but instead uses an internal structure.

    Flash.Backend represents a flash-scope that is not cookie-based but instead uses an internal structure.

    Semantically it is identical to the cookie-based flash-scope (valid for a single request) but by using Flash.Backend we're not limited in size of the payload as in the cookie-based flash-scope. Still, the Flash.Backend uses a cookie but does not transport the payload with it but only an internal identifier.

  2. sealed trait Message[+A, +B] extends AnyRef

    A fash message can represent a notice, an alert or both - it's some kind of a specialized zio.prelude.These.

    A fash message can represent a notice, an alert or both - it's some kind of a specialized zio.prelude.These.

    Using a flash message allows one to categorize those into notice or alert and by that wrap both messages with a different ui design.

  3. sealed trait Setter[A] extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def fail(message: String): Flash[Nothing]
  9. def get[A](implicit arg0: Schema[A]): Flash[A]

    Gets the first flash value of type A regardless of any key.

  10. def get[A](key: String)(implicit arg0: Schema[A]): Flash[A]

    Gets any flash value of type A with the given key key.

  11. def getAlert[A](implicit arg0: Schema[A]): Flash[A]

    Gets a flash value of type A associated with the alert key.

  12. def getBoolean(key: String): Flash[Boolean]

    Gets a flash value of type Boolean with the given key key.

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def getDouble(key: String): Flash[Double]

    Gets a flash value of type Double with the given key key.

  15. def getFloat(key: String): Flash[Float]

    Gets a flash value of type Float with the given key key.

  16. def getInt(key: String): Flash[Int]

    Gets a flash value of type Int with the given key key.

  17. def getLong(key: String): Flash[Long]

    Gets a flash value of type Long with the given key key.

  18. def getMessage[A, B](flashNotice: Flash[A], flashAlert: Flash[B]): Flash[Message[A, B]]

    Creates a Flash.Message from two other values flashNotice and flashAlert.

    Creates a Flash.Message from two other values flashNotice and flashAlert.

    Uses flashNotice to create a Flash.Message representing a notice.

    Uses flashAlert to create a Flash.Message representing an alert.

    If flashNotice and flashAlert are both available in the flash scope the resulting Flash.Message will represent both.

  19. def getMessageHtml: Flash[Message[Html, Html]]

    Creates a Flash.Message using the default keys for notice and alert.

    Creates a Flash.Message using the default keys for notice and alert.

    Additionally the values must be of type String so they can be transformed to Html.

    Usage e.g.: Flash.getMessageHtml.foldHtml(showNotice, showAlert)(_ ++ _)

  20. def getNotice[A](implicit arg0: Schema[A]): Flash[A]

    Gets a flash value of type A associated with the notice key.

  21. def getString(key: String): Flash[String]

    Gets a flash value of type String with the given key key.

  22. def getUUID(key: String): Flash[UUID]

    Gets a flash value of type UUID with the given key key.

  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  28. def setAlert[A](a: A)(implicit arg0: Schema[A]): Setter[A]

    Sets a flash value of type A with the key for an alert.

  29. def setEmpty: Setter[Unit]
  30. def setNotice[A](a: A)(implicit arg0: Schema[A]): Setter[A]

    Sets a flash value of type A with the key for a notice.

  31. def setValue[A](key: String, a: A)(implicit arg0: Schema[A]): Setter[A]

    Sets a flash value of type A with the given key key.

  32. def succeed[A](a: A): Flash[A]
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. object Backend

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped