public class Match
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.List<Match> |
getAllMatches(java.lang.String requestPath,
java.util.Set<TyrusEndpointWrapper> endpoints,
DebugContext debugContext)
Return a list of all endpoints with path matching the request path.
|
TyrusEndpointWrapper |
getEndpointWrapper()
Get endpoint wrapper.
|
java.util.Map<java.lang.String,java.lang.String> |
getParameters()
Get map of parameter names-value pairs.
|
static boolean |
isEquivalent(java.lang.String path1,
java.lang.String path2)
Check for equivalent paths.
|
java.lang.String |
toString() |
public java.util.Map<java.lang.String,java.lang.String> getParameters()
public TyrusEndpointWrapper getEndpointWrapper()
public java.lang.String toString()
toString
in class java.lang.Object
public static java.util.List<Match> getAllMatches(java.lang.String requestPath, java.util.Set<TyrusEndpointWrapper> endpoints, DebugContext debugContext)
requestPath
- request path.endpoints
- endpoints.debugContext
- debug context.public static boolean isEquivalent(java.lang.String path1, java.lang.String path2)
path1
- path to be checked.path2
- path to be checked.true
when provided path are equivalent, false
otherwise.Copyright © 2012–2020 Oracle Corporation. All rights reserved.