Package spark.routematch
Class RouteMatch
java.lang.Object
spark.routematch.RouteMatch
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private HttpMethod
private String
private String
private Object
-
Constructor Summary
ConstructorsConstructorDescriptionRouteMatch
(Object target, String matchUri, String requestUri, String acceptType) RouteMatch
(Object target, String matchUri, String requestUri, String acceptType, HttpMethod httpMethod) -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
target
-
matchUri
-
requestURI
-
acceptType
-
httpMethod
-
-
Constructor Details
-
RouteMatch
-
RouteMatch
public RouteMatch(Object target, String matchUri, String requestUri, String acceptType, HttpMethod httpMethod)
-
-
Method Details
-
getHttpMethod
- Returns:
- the accept type
-
getAcceptType
- Returns:
- the accept type
-
getTarget
- Returns:
- the target
-
getMatchUri
- Returns:
- the matchUri
-
getRequestURI
- Returns:
- the requestUri
-