public class SimpleRouteMatcher extends Object implements RouteMatcher
ROOT, SINGLE_QUOTE| Constructor and Description |
|---|
SimpleRouteMatcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearRoutes()
Clear all routes
|
RouteMatch |
findTargetForRequestedRoute(HttpMethod httpMethod,
String path,
String acceptType)
Finds the a target route for the requested route path and accept type
|
List<RouteMatch> |
findTargetsForRequestedRoute(HttpMethod httpMethod,
String path,
String acceptType) |
void |
parseValidateAddRoute(String route,
String acceptType,
Object target)
Parses, validates and adds a route
|
public List<RouteMatch> findTargetsForRequestedRoute(HttpMethod httpMethod, String path, String acceptType)
findTargetsForRequestedRoute in interface RouteMatcherpublic RouteMatch findTargetForRequestedRoute(HttpMethod httpMethod, String path, String acceptType)
RouteMatcherfindTargetForRequestedRoute in interface RouteMatcherpublic void parseValidateAddRoute(String route, String acceptType, Object target)
RouteMatcherparseValidateAddRoute in interface RouteMatcherpublic void clearRoutes()
RouteMatcherclearRoutes in interface RouteMatcherCopyright © 2013. All Rights Reserved.