程序包 | 说明 |
---|---|
com.blade.kit | |
com.blade.mvc | |
com.blade.mvc.hook | |
com.blade.mvc.http | |
com.blade.mvc.route | |
com.blade.mvc.route.mapping |
限定符和类型 | 方法和说明 |
---|---|
static void |
BladeKit.logAddRoute(org.slf4j.Logger log,
Route route) |
限定符和类型 | 方法和说明 |
---|---|
Route |
WebContext.getRoute() |
Route |
RouteContext.route()
Get current request route instance
|
限定符和类型 | 方法和说明 |
---|---|
void |
RouteContext.initRoute(Route route) |
void |
WebContext.setRoute(Route route) |
限定符和类型 | 方法和说明 |
---|---|
void |
Signature.setRoute(Route route)
已过时。
|
限定符和类型 | 方法和说明 |
---|---|
Request |
Request.initPathParams(Route route)
init request path parameters
|
Request |
HttpRequest.initPathParams(Route route) |
限定符和类型 | 方法和说明 |
---|---|
Route |
RouteMatcher.addRoute(String path,
RouteHandler0 handler,
HttpMethod httpMethod)
已过时。
|
Route |
RouteMatcher.addRoute(String path,
RouteHandler handler,
HttpMethod httpMethod) |
Route |
RouteMatcher.lookupRoute(String httpMethod,
String path) |
限定符和类型 | 方法和说明 |
---|---|
List<Route> |
RouteMatcher.getAfter(String path)
Find all in after of the hooks
|
List<Route> |
RouteMatcher.getBefore(String path)
Find all in before of the hook
|
Map<String,List<Route>> |
RouteMatcher.getHooks() |
List<Route> |
RouteMatcher.getMiddleware() |
Map<String,Route> |
RouteMatcher.getRoutes() |
限定符和类型 | 方法和说明 |
---|---|
Route |
StaticMapping.findRoute(String path,
String httpMethod) |
限定符和类型 | 方法和说明 |
---|---|
void |
StaticMapping.addRoute(String path,
HttpMethod httpMethod,
Route route) |
void |
RegexMapping.addRoute(String path,
HttpMethod httpMethod,
Route route,
List<String> uriVariableNames) |
Copyright © 2018. All rights reserved.