public class Route extends Object
| Constructor and Description |
|---|
Route(String httpMethod,
String uri,
Class controllerClass,
Method controllerMethod,
FilterChain filterChain) |
| Modifier and Type | Method and Description |
|---|---|
Class |
getControllerClass() |
Method |
getControllerMethod() |
FilterChain |
getFilterChain() |
String |
getHttpMethod() |
Map<String,String> |
getPathParametersEncoded(String uri)
This method does not do any decoding / encoding.
|
String |
getUri() |
String |
getUrl() |
boolean |
matches(String httpMethod,
String uri)
Matches /index to /index or /me/1 to /person/{id}
|
public Route(String httpMethod, String uri, Class controllerClass, Method controllerMethod, FilterChain filterChain)
public String getUrl()
public String getHttpMethod()
public String getUri()
public Class getControllerClass()
public FilterChain getFilterChain()
public Method getControllerMethod()
public boolean matches(String httpMethod, String uri)
public Map<String,String> getPathParametersEncoded(String uri)
uri - The whole encoded uri.Copyright © 2013. All Rights Reserved.