Class

com.mohiva.play.silhouette.api.actions

UserAwareActionBuilder

Related Doc: package actions

Permalink

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, 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. Serializable
  4. Product
  5. Equals
  6. ActionBuilder
  7. ActionFunction
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    requestHandler

    The request handler instance.

    parser

    The body parser.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def andThen[Q[_]](other: ActionFunction[[B]UserAwareRequest[E, B], Q]): ActionBuilder[Q, P]

    Permalink
    Definition Classes
    ActionBuilder → ActionFunction
  5. final def apply(block: ⇒ Result): Action[AnyContent]

    Permalink
    Definition Classes
    ActionBuilder
  6. final def apply(block: (UserAwareRequest[E, P]) ⇒ Result): Action[P]

    Permalink
    Definition Classes
    ActionBuilder
  7. final def apply[A](bodyParser: BodyParser[A]): ActionBuilder[[B]UserAwareRequest[E, B], A]

    Permalink
    Definition Classes
    ActionBuilder
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. final def async[A](bodyParser: BodyParser[A])(block: (UserAwareRequest[E, A]) ⇒ Future[Result]): Action[A]

    Permalink
    Definition Classes
    ActionBuilder
  10. final def async(block: (UserAwareRequest[E, P]) ⇒ Future[Result]): Action[P]

    Permalink
    Definition Classes
    ActionBuilder
  11. final def async(block: ⇒ Future[Result]): Action[AnyContent]

    Permalink
    Definition Classes
    ActionBuilder
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def compose[B](other: ActionBuilder[Request, B]): ActionBuilder[[B]UserAwareRequest[E, B], B]

    Permalink
    Definition Classes
    ActionFunction
  14. def compose[Q[_]](other: ActionFunction[Q, Request]): ActionFunction[Q, [B]UserAwareRequest[E, B]]

    Permalink
    Definition Classes
    ActionFunction
  15. def composeAction[A](action: Action[A]): Action[A]

    Permalink
    Attributes
    protected
    Definition Classes
    ActionBuilder
  16. def composeParser[A](bodyParser: BodyParser[A]): BodyParser[A]

    Permalink
    Attributes
    protected
    Definition Classes
    ActionBuilder
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def executionContext: ExecutionContext

    Permalink

    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. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def invokeBlock[B](request: Request[B], block: (UserAwareRequest[E, B]) ⇒ Future[Result]): Future[Result]

    Permalink

    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
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. val parser: BodyParser[P]

    Permalink

    The body parser.

    The body parser.

    Definition Classes
    UserAwareActionBuilder → ActionBuilder
  27. val requestHandler: UserAwareRequestHandlerBuilder[E]

    Permalink

    The request handler instance.

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

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