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) |
List<RouteMatch> |
findTargetsForRequestedRoute(HttpMethod httpMethod,
String path) |
List<com.att.ajsc.methodmapper.common.SimpleRouteMatcher.RouteEntry> |
getRoutes() |
void |
parseValidateAddRoute(String service,
String httpMethod,
String url,
String logicalMethod,
String type,
String serviceName) |
public List<com.att.ajsc.methodmapper.common.SimpleRouteMatcher.RouteEntry> getRoutes()
public RouteMatch findTargetForRequestedRoute(HttpMethod httpMethod, String path)
findTargetForRequestedRoute in interface RouteMatcherpublic List<RouteMatch> findTargetsForRequestedRoute(HttpMethod httpMethod, String path)
findTargetsForRequestedRoute in interface RouteMatcherpublic void parseValidateAddRoute(String service, String httpMethod, String url, String logicalMethod, String type, String serviceName)
parseValidateAddRoute in interface RouteMatcherpublic void clearRoutes()
RouteMatcherclearRoutes in interface RouteMatcherCopyright © 2017 Pivotal Software, Inc.. All rights reserved.