Interpreter for algebra.Assets that performs routing using Play framework
Interpreter for algebra.Endpoints that performs routing using Play framework.
algebra.Methods interpreter that decodes and encodes methods.
A function whose return type depends on the type
of the given req
.
A function whose return type depends on the type
of the given req
.
Request base type
Response base type
A function whose return type depends on the type
of the given req
.
A function whose return type depends on the type
of the given req
.
Request base type
Response base type
algebra.Urls interpreter that decodes and encodes URLs.
Interpreter for algebra.Endpoints that performs routing using Play framework.
Consider the following endpoints definition:
You can get a router for them as follows:
Then
MyRouter.routes
can be used to define a proper Play router as follows:val router = play.api.routing.Router.from(MyRouter.routes)