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() |
java.util.List<Router.RouteDocumentation> |
documentation() |
static Router |
empty() |
default Router |
orElse(Router router) |
java.util.Optional<play.api.mvc.Handler> |
route(Http.RequestHeader request) |
Router |
withPrefix(java.lang.String prefix) |
java.util.List<Router.RouteDocumentation> documentation()
java.util.Optional<play.api.mvc.Handler> route(Http.RequestHeader request)
Router withPrefix(java.lang.String prefix)
default play.api.routing.Router asScala()
static Router empty()