Package play.routing
Interface Router
-
public interface Router
The Java Router API
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Router.Attrs
Request attributes used by the router.static class
Router.RouteDocumentation
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
documentation
List<Router.RouteDocumentation> documentation()
-
route
Optional<play.api.mvc.Handler> route(Http.RequestHeader request)
-
asScala
default play.api.routing.Router asScala()
-
empty
static Router empty()
-
-