public interface RouteMatcher
| Modifier and Type | Field and Description |
|---|---|
static String |
ROOT |
static char |
SINGLE_QUOTE |
| Modifier and Type | Method and Description |
|---|---|
void |
clearRoutes()
Clear all routes
|
RouteMatch |
findTargetForRequestedRoute(HttpMethod httpMethod,
String route)
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)
|
void |
parseValidateAddRoute(String service,
String httpMethod,
String url,
String logicalMethod,
String dme2url,
String type,
String serviceName,
String passThroughRespCode)
Parses, validates and adds a route
|
static final String ROOT
static final char SINGLE_QUOTE
void parseValidateAddRoute(String service, String httpMethod, String url, String logicalMethod, String dme2url, String type, String serviceName, String passThroughRespCode)
route - logicalMethod - RouteMatch findTargetForRequestedRoute(HttpMethod httpMethod, String route)
httpMethod - route - List<RouteMatch> findTargetsForRequestedRoute(HttpMethod httpMethod, String path)
void clearRoutes()
Copyright © 2017. All rights reserved.