Package | Description |
---|---|
com.blade.kit | |
com.blade.mvc.http | |
com.blade.mvc.route |
Modifier and Type | Method and Description |
---|---|
static boolean |
BladeKit.isWebHook(HttpMethod httpMethod) |
static boolean |
BladeKit.notIsWebHook(HttpMethod httpMethod) |
Modifier and Type | Method and Description |
---|---|
HttpMethod |
Request.httpMethod() |
HttpMethod |
HttpRequest.httpMethod() |
static HttpMethod |
HttpMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
HttpMethod |
Route.getHttpMethod() |
Modifier and Type | Method and Description |
---|---|
Route |
RouteMatcher.addRoute(HttpMethod httpMethod,
String path,
Object controller,
Class<?> controllerType,
Method method) |
Route |
RouteMatcher.addRoute(HttpMethod httpMethod,
String path,
RouteHandler handler,
String methodName) |
void |
RouteMatcher.addRoute(String[] paths,
RouteHandler handler,
HttpMethod httpMethod) |
Route |
RouteMatcher.addRoute(String path,
RouteHandler handler,
HttpMethod httpMethod) |
void |
RouteMatcher.buildRoute(String path,
Class<?> clazz,
Method method,
HttpMethod httpMethod) |
void |
RouteMatcher.route(String path,
Class<?> clazz,
String methodName,
HttpMethod httpMethod) |
Constructor and Description |
---|
Route(HttpMethod httpMethod,
String path,
Class<?> targetType,
Method action) |
Route(HttpMethod httpMethod,
String path,
Object target,
Class<?> targetType,
Method action) |
Copyright © 2017. All rights reserved.