trait ActionFilter[R[_]] extends ActionRefiner[R, R]
Ordering
- Alphabetic
- By Inheritance
Inherited
- ActionFilter
- ActionRefiner
- ActionFunction
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Concrete Value Members
- def andThen[Q[_]](other: ActionFunction[R, Q]): ActionFunction[R, Q]
Compose this ActionFunction with another, with this one applied first.
Compose this ActionFunction with another, with this one applied first.
- other
ActionFunction with which to compose
- returns
The new ActionFunction
- Definition Classes
- ActionFunction
- def compose[B](other: ActionBuilder[R, B]): ActionBuilder[R, B]
- Definition Classes
- ActionFunction
- def compose[Q[_]](other: ActionFunction[Q, R]): ActionFunction[Q, R]
Compose another ActionFunction with this one, with this one applied last.
Compose another ActionFunction with this one, with this one applied last.
- other
ActionFunction with which to compose
- returns
The new ActionFunction
- Definition Classes
- ActionFunction
- final def invokeBlock[A](request: R[A], block: (R[A]) => Future[Result]): Future[Result]
Invoke the block.
Invoke the block. This is the main method that an ActionBuilder has to implement, at this stage it can wrap it in any other actions, modify the request object or potentially use a different class to represent the request.
- request
The request
- block
The block of code to invoke
- returns
A future of the result
- Definition Classes
- → ActionFunction
A simple kind of ActionRefiner which, given a request (of type R), may either immediately produce a Result (for example, an error), or continue its Action block with the same request. The critical (abstract) function is filter.