trait Backend extends AnyRef
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.
- Self Type
- Backend
- Alphabetic
- By Inheritance
- Backend
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def addFlash[A](response: Response, setter: Setter[A]): UIO[Response]
Adds flash values to the backend-based flash-scope and returns a workflow with an updated
Response. - abstract def flash[A](request: Request, flash: Flash[A]): IO[Throwable, A]
Gets an
Afrom the backend-based flash-scope or fails with aThrowable.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def addFlash[A](response: Response, setterOpt: Option[Setter[A]]): UIO[Response]
Optionally adds flash values to the backend-based flash-scope and returns a workflow with an updated
Response. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def flashOrElse[A](request: Request, flash: Flash[A])(orElse: => A): UIO[A]
Gets an
Afrom the backend-based flash-scope and provides a fallback. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])