WithHandlerDef

play.api.routing.Router.RequestImplicits.WithHandlerDef
final implicit class WithHandlerDef(val request: RequestHeader) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def handlerDef: Option[HandlerDef]

The HandlerDef representing the routes file entry (if any) on this request.

The HandlerDef representing the routes file entry (if any) on this request.

Attributes

def hasRouteModifier(modifier: String): Boolean

Check if the route for this request has the given modifier tag (case insensitive).

Check if the route for this request has the given modifier tag (case insensitive).

This can be used by a filter to change behavior.

Attributes

Concrete fields