| Package | Description |
|---|---|
| spark.route |
| Modifier and Type | Method and Description |
|---|---|
HttpMethod |
RouteMatch.getHttpMethod() |
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 |
|---|---|
RouteMatch |
SimpleRouteMatcher.findTargetForRequestedRoute(HttpMethod httpMethod,
String path,
String acceptType)
finds target for a requested route
|
List<RouteMatch> |
SimpleRouteMatcher.findTargetsForRequestedRoute(HttpMethod httpMethod,
String path,
String acceptType)
Finds multiple targets for a requested route.
|
| Constructor and Description |
|---|
RouteMatch(HttpMethod httpMethod,
Object target,
String matchUri,
String requestUri,
String acceptType) |
Copyright © 2014. All rights reserved.