Package | Description |
---|---|
ninja | |
ninja.template | |
ninja.utils | |
ninja.websockets |
Modifier and Type | Method and Description |
---|---|
Route |
RouteBuilderImpl.buildRoute(com.google.inject.Injector injector)
Build the route.
|
Route |
ReverseRouter.Builder.getRoute() |
Route |
WrappedContext.getRoute() |
Route |
Context.getRoute()
Get the route for this context
|
Route |
Router.getRouteFor(String httpMethod,
String uri)
Get the route for the given method and URI
|
Route |
RouterImpl.getRouteFor(String httpMethod,
String uri) |
Modifier and Type | Method and Description |
---|---|
Optional<Route> |
Router.getRouteForControllerClassAndMethod(Class<?> controllerClass,
String controllerMethodName) |
Optional<Route> |
RouterImpl.getRouteForControllerClassAndMethod(Class<?> controllerClass,
String controllerMethodName) |
List<Route> |
Router.getRoutes()
Returns the list of compiled routes.
|
List<Route> |
RouterImpl.getRoutes() |
Modifier and Type | Method and Description |
---|---|
void |
Context.Impl.setRoute(Route route) |
Constructor and Description |
---|
Builder(String contextPath,
Route route) |
Modifier and Type | Method and Description |
---|---|
String |
TemplateEngineHelper.getTemplateForResult(Route route,
Result result,
String suffix) |
Modifier and Type | Field and Description |
---|---|
protected Route |
AbstractContext.route |
Modifier and Type | Method and Description |
---|---|
Route |
AbstractContext.getRoute() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractContext.setRoute(Route route) |
Modifier and Type | Method and Description |
---|---|
void |
WebSockets.compileRoute(Route route)
Configure the container for the websocket route.
|
void |
DefaultWebSockets.compileRoute(Route route) |
Copyright © 2019 ninjaframework. All rights reserved.