public interface Router
Modifier and Type | Interface and Description |
---|---|
static class |
Router.Attrs
Request attributes used by the router.
|
static class |
Router.RouteDocumentation |
Modifier and Type | Method and Description |
---|---|
default play.api.routing.Router |
asScala() |
List<Router.RouteDocumentation> |
documentation() |
static Router |
empty() |
default Router |
orElse(Router router) |
Optional<play.api.mvc.Handler> |
route(Http.RequestHeader request) |
Router |
withPrefix(String prefix) |
List<Router.RouteDocumentation> documentation()
Optional<play.api.mvc.Handler> route(Http.RequestHeader request)
default play.api.routing.Router asScala()
static Router empty()