play.api.routing.Router
See theRouter companion object
trait Router
A router.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
- Self type
Members list
Value members
Abstract methods
Documentation for the router.
Documentation for the router.
Attributes
- Returns
-
A list of method, path pattern and controller/method invocations for each route.
Get a new router that routes requests to s"$prefix/$path" in the same way this router routes requests to path.
Get a new router that routes requests to s"$prefix/$path" in the same way this router routes requests to path.
Attributes
- Returns
-
the prefixed router
Concrete methods
An alternative syntax for withPrefix. For example:
An alternative syntax for withPrefix. For example:
val router = "/bar" /: barRouter
Attributes
A lifted version of the routes partial function.
A lifted version of the routes partial function.
Attributes
In this article