Package spark.routematch
Class RouteMatch
- java.lang.Object
-
- spark.routematch.RouteMatch
-
public class RouteMatch extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
acceptType
private HttpMethod
httpMethod
private java.lang.String
matchUri
private java.lang.String
requestURI
private java.lang.Object
target
-
Constructor Summary
Constructors Constructor Description RouteMatch(java.lang.Object target, java.lang.String matchUri, java.lang.String requestUri, java.lang.String acceptType)
RouteMatch(java.lang.Object target, java.lang.String matchUri, java.lang.String requestUri, java.lang.String acceptType, HttpMethod httpMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAcceptType()
HttpMethod
getHttpMethod()
java.lang.String
getMatchUri()
java.lang.String
getRequestURI()
java.lang.Object
getTarget()
-
-
-
Field Detail
-
target
private java.lang.Object target
-
matchUri
private java.lang.String matchUri
-
requestURI
private java.lang.String requestURI
-
acceptType
private java.lang.String acceptType
-
httpMethod
private HttpMethod httpMethod
-
-
Constructor Detail
-
RouteMatch
public RouteMatch(java.lang.Object target, java.lang.String matchUri, java.lang.String requestUri, java.lang.String acceptType)
-
RouteMatch
public RouteMatch(java.lang.Object target, java.lang.String matchUri, java.lang.String requestUri, java.lang.String acceptType, HttpMethod httpMethod)
-
-
Method Detail
-
getHttpMethod
public HttpMethod getHttpMethod()
- Returns:
- the accept type
-
getAcceptType
public java.lang.String getAcceptType()
- Returns:
- the accept type
-
getTarget
public java.lang.Object getTarget()
- Returns:
- the target
-
getMatchUri
public java.lang.String getMatchUri()
- Returns:
- the matchUri
-
getRequestURI
public java.lang.String getRequestURI()
- Returns:
- the requestUri
-
-