| 程序包 | 说明 |
|---|---|
| com.blade.kit | |
| com.blade.mvc | |
| com.blade.mvc.hook | |
| com.blade.mvc.http | |
| com.blade.mvc.route |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
BladeKit.logAddRoute(org.slf4j.Logger log,
Route route) |
| 限定符和类型 | 方法和说明 |
|---|---|
Route |
RouteContext.route()
Get current request route instance
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RouteContext.initRoute(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() |
Map<String,Route> |
RouteMatcher.getStaticRoutes() |
Copyright © 2018. All rights reserved.