RouteInvokers

play.api.test.RouteInvokers

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Helpers
Self type

Members list

Value members

Concrete methods

def route[T](router: Router, rh: RequestHeader, body: T)(implicit w: Writeable[T], mat: Materializer): Option[Future[Result]]

Use the Router to determine the Action to call for this request and execute it.

Use the Router to determine the Action to call for this request and execute it.

The body is serialised using the implicit writable, so that the action body parser can deserialize it.

Attributes

def route[T](router: Router, req: Request[T])(implicit w: Writeable[T], mat: Materializer): Option[Future[Result]]

Use the Router to determine the Action to call for this request and execute it.

Use the Router to determine the Action to call for this request and execute it.

The body is serialised using the implicit writable, so that the action body parser can deserialize it.

Attributes

def route[T](app: Application, rh: RequestHeader, body: T)(implicit w: Writeable[T]): Option[Future[Result]]

Use the HttpRequestHandler to determine the Action to call for this request and execute it.

Use the HttpRequestHandler to determine the Action to call for this request and execute it.

The body is serialised using the implicit writable, so that the action body parser can deserialize it.

Attributes

def route[T](app: Application, req: Request[T])(implicit w: Writeable[T]): Option[Future[Result]]

Use the HttpRequestHandler to determine the Action to call for this request and execute it.

Use the HttpRequestHandler to determine the Action to call for this request and execute it.

The body is serialised using the implicit writable, so that the action body parser can deserialize it.

Attributes

Inherited methods

def call[T](action: EssentialAction, rh: RequestHeader, body: T)(implicit w: Writeable[T], mat: Materializer): Future[Result]

Execute an play.api.mvc.EssentialAction.

The body is serialised using the implicit writable, so that the action body parser can deserialize it.

Attributes

Inherited from:
EssentialActionCaller
def call[T](action: EssentialAction, req: Request[T])(implicit w: Writeable[T], mat: Materializer): Future[Result]

Execute an play.api.mvc.EssentialAction.

The body is serialised using the implicit writable, so that the action body parser can deserialize it.

Attributes

Inherited from:
EssentialActionCaller