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)
Finds the a target route for the requested route path
|
List<RouteMatch> |
findTargetsForRequestedRoute(HttpMethod httpMethod,
String path)
Finds the targets for a requested route path (used for filters)
|
List<com.att.ajsc.csi.restmethodmap.SimpleRouteMatcher.RouteEntry> |
getRoutes() |
void |
parseValidateAddRoute(String service,
String httpMethod,
String url,
String logicalMethod,
String dme2url,
String type,
String serviceName,
String passThroughRespCode)
Parses, validates and adds a route
|
public List<com.att.ajsc.csi.restmethodmap.SimpleRouteMatcher.RouteEntry> getRoutes()
public RouteMatch findTargetForRequestedRoute(HttpMethod httpMethod, String path)
RouteMatcherfindTargetForRequestedRoute in interface RouteMatcherpublic List<RouteMatch> findTargetsForRequestedRoute(HttpMethod httpMethod, String path)
RouteMatcherfindTargetsForRequestedRoute in interface RouteMatcherpublic void parseValidateAddRoute(String service, String httpMethod, String url, String logicalMethod, String dme2url, String type, String serviceName, String passThroughRespCode)
RouteMatcherparseValidateAddRoute in interface RouteMatcherpublic void clearRoutes()
RouteMatcherclearRoutes in interface RouteMatcherCopyright © 2017. All rights reserved.