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 RouteMatcher
public RouteMatch findTargetForRequestedRoute(HttpMethod httpMethod, String path, String acceptType)
RouteMatcher
findTargetForRequestedRoute
in interface RouteMatcher
public void parseValidateAddRoute(String route, String acceptType, Object target)
RouteMatcher
parseValidateAddRoute
in interface RouteMatcher
public void clearRoutes()
RouteMatcher
clearRoutes
in interface RouteMatcher
Copyright © 2013. All Rights Reserved.