Packages

c

play.silhouette.api.actions

UserAwareActionBuilder

final case class UserAwareActionBuilder[E <: Env, P](requestHandler: UserAwareRequestHandlerBuilder[E], parser: BodyParser[P]) extends ActionBuilder[[B]UserAwareRequest[E, B], P] with Product with Serializable

Action builder implementation to provide the foundation for user-aware actions.

E

The type of the environment.

P

The type of the request body.

requestHandler

The request handler instance.

parser

The body parser.

Linear Supertypes
Serializable, Product, Equals, ActionBuilder[[B]UserAwareRequest[E, B], P], ActionFunction[Request, [B]UserAwareRequest[E, B]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UserAwareActionBuilder
  2. Serializable
  3. Product
  4. Equals
  5. ActionBuilder
  6. ActionFunction
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UserAwareActionBuilder(requestHandler: UserAwareRequestHandlerBuilder[E], parser: BodyParser[P])

    requestHandler

    The request handler instance.

    parser

    The body parser.

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. def andThen[Q[_]](other: ActionFunction[[B]UserAwareRequest[E, B], Q]): ActionBuilder[Q, P]
    Definition Classes
    ActionBuilder → ActionFunction
  5. final def apply(block: => Result): Action[AnyContent]
    Definition Classes
    ActionBuilder
  6. final def apply(block: (UserAwareRequest[E, P]) => Result): Action[P]
    Definition Classes
    ActionBuilder
  7. final def apply[A](bodyParser: BodyParser[A]): ActionBuilder[[B]UserAwareRequest[E, B], A]
    Definition Classes
    ActionBuilder
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. final def async[A](bodyParser: BodyParser[A])(block: (UserAwareRequest[E, A]) => Future[Result]): Action[A]
    Definition Classes
    ActionBuilder
  10. final def async(block: (UserAwareRequest[E, P]) => Future[Result]): Action[P]
    Definition Classes
    ActionBuilder
  11. final def async(block: => Future[Result]): Action[AnyContent]
    Definition Classes
    ActionBuilder
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  13. def compose[B](other: ActionBuilder[Request, B]): ActionBuilder[[B]UserAwareRequest[E, B], B]
    Definition Classes
    ActionFunction
  14. def compose[Q[_]](other: ActionFunction[Q, Request]): ActionFunction[Q, [B]UserAwareRequest[E, B]]
    Definition Classes
    ActionFunction
  15. def composeAction[A](action: Action[A]): Action[A]
    Attributes
    protected
    Definition Classes
    ActionBuilder
  16. def composeParser[A](bodyParser: BodyParser[A]): BodyParser[A]
    Attributes
    protected
    Definition Classes
    ActionBuilder
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def executionContext: ExecutionContext

    Get the execution context to run the request in.

    Get the execution context to run the request in.

    returns

    The execution context.

    Attributes
    protected
    Definition Classes
    UserAwareActionBuilder → ActionFunction
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  20. def invokeBlock[B](request: Request[B], block: (UserAwareRequest[E, B]) => Future[Result]): Future[Result]

    Invokes the block.

    Invokes the block.

    B

    The type of the request body.

    request

    The current request.

    block

    The block of code to invoke.

    returns

    The result to send to the client.

    Definition Classes
    UserAwareActionBuilder → ActionFunction
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  25. val parser: BodyParser[P]
    Definition Classes
    UserAwareActionBuilder → ActionBuilder
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. val requestHandler: UserAwareRequestHandlerBuilder[E]
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ActionBuilder[[B]UserAwareRequest[E, B], P]

Inherited from ActionFunction[Request, [B]UserAwareRequest[E, B]]

Inherited from AnyRef

Inherited from Any

Ungrouped