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 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
|
static final String ROOT
static final char SINGLE_QUOTE
void parseValidateAddRoute(String route, String acceptType, Object target)
route
- acceptType
- target
- RouteMatch findTargetForRequestedRoute(HttpMethod httpMethod, String path, String acceptType)
httpMethod
- path
- acceptType
- void clearRoutes()
List<RouteMatch> findTargetsForRequestedRoute(HttpMethod httpMethod, String path, String acceptType)
Copyright © 2013. All Rights Reserved.