Constructor and Description |
---|
SimpleRouteMatcher()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clearRoutes()
Deprecated.
|
RouteMatch |
findTargetForRequestedRoute(HttpMethod httpMethod,
String path,
String acceptType)
Deprecated.
|
List<RouteMatch> |
findTargetsForRequestedRoute(HttpMethod httpMethod,
String path,
String acceptType)
Deprecated.
|
void |
parseValidateAddRoute(String route,
String acceptType,
Object target)
Deprecated.
|
boolean |
removeRoute(String path)
Deprecated.
|
boolean |
removeRoute(String path,
String httpMethod)
Deprecated.
|
public void parseValidateAddRoute(String route, String acceptType, Object target)
route
- the routeacceptType
- the accept typetarget
- the targetpublic RouteMatch findTargetForRequestedRoute(HttpMethod httpMethod, String path, String acceptType)
httpMethod
- the HttpMethodpath
- the pathacceptType
- the accept typepublic List<RouteMatch> findTargetsForRequestedRoute(HttpMethod httpMethod, String path, String acceptType)
httpMethod
- the HttpMethodpath
- the pathacceptType
- the accept typepublic void clearRoutes()
public boolean removeRoute(String path, String httpMethod)
path
- the pathhttpMethod
- the http method namepublic boolean removeRoute(String path)
path
- the pathCopyright © 2017. All rights reserved.