public class Match extends Object
Modifier and Type | Method and Description |
---|---|
static List<Match> |
getAllMatches(String requestPath,
Set<TyrusEndpointWrapper> endpoints,
DebugContext debugContext)
Return a list of all endpoints with path matching the request path.
|
TyrusEndpointWrapper |
getEndpointWrapper()
Get endpoint wrapper.
|
Map<String,String> |
getParameters()
Get map of parameter names-value pairs.
|
static boolean |
isEquivalent(String path1,
String path2)
Check for equivalent paths.
|
String |
toString() |
public Map<String,String> getParameters()
public TyrusEndpointWrapper getEndpointWrapper()
public static List<Match> getAllMatches(String requestPath, Set<TyrusEndpointWrapper> endpoints, DebugContext debugContext)
requestPath
- request path.endpoints
- endpoints.debugContext
- debug context.Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.