public class Route extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
Route.Method |
| Modifier and Type | Field | Description |
|---|---|---|
static String |
MATCHED_ROUTE |
| Constructor | Description |
|---|---|
Route(Route.Method method,
String path,
RequestResponseHandler... handlers) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object obj) |
|
RequestResponseHandler[] |
getHandlers() |
|
Route.Method |
getMethod() |
|
String |
getPath() |
|
int |
hashCode() |
|
boolean |
isMatch(javax.servlet.http.HttpServletRequest request) |
|
boolean |
isMatch(javax.servlet.http.HttpServletRequest request,
String relativeUri) |
public static final String MATCHED_ROUTE
public Route(Route.Method method, String path, RequestResponseHandler... handlers)
public boolean isMatch(javax.servlet.http.HttpServletRequest request)
public boolean isMatch(javax.servlet.http.HttpServletRequest request,
String relativeUri)
public RequestResponseHandler[] getHandlers()
public Route.Method getMethod()
public String getPath()
Copyright © 2014–2018. All rights reserved.