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 |
RouteMatcher.findTargetForRequestedRoute(HttpMethod httpMethod,
String path,
String acceptType)
Finds the a target route for the requested route path and accept type
|
RouteMatch |
SimpleRouteMatcher.findTargetForRequestedRoute(HttpMethod httpMethod,
String path,
String acceptType) |
List<RouteMatch> |
RouteMatcher.findTargetsForRequestedRoute(HttpMethod httpMethod,
String path,
String acceptType) |
List<RouteMatch> |
SimpleRouteMatcher.findTargetsForRequestedRoute(HttpMethod httpMethod,
String path,
String acceptType) |
Constructor and Description |
---|
RouteMatch(HttpMethod httpMethod,
Object target,
String matchUri,
String requestUri,
String acceptType) |
Copyright © 2013. All Rights Reserved.