GeneratedRouter
A generated router.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Abstract methods
Concrete methods
Create a HandlerInvoker for a route by simulating a call to the controller method. This method is called by the code-generated routes files.
Create a HandlerInvoker for a route by simulating a call to the controller method. This method is called by the code-generated routes files.
Attributes
Inherited methods
An alternative syntax for withPrefix. For example:
An alternative syntax for withPrefix. For example:
val router = "/bar" /: barRouter
Attributes
- Inherited from:
- Router
Documentation for the router.
Documentation for the router.
Attributes
- Returns
-
A list of method, path pattern and controller/method invocations for each route.
- Inherited from:
- Router
A lifted version of the routes partial function.
Compose two routers into one. The resulting router will contain both the routes in this as well as router
Compose two routers into one. The resulting router will contain both the routes in this as well as router
Attributes
- Inherited from:
- Router
The actual routes of the router.
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
- Inherited from:
- Router