| Modifier and Type | Field and Description |
|---|---|
| private final TyrusEndpointWrapper | |
| private static final Logger | |
| private final Map | |
| private final List |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | addParameter(String
parameter name. name, String parameter value. value, int parameter index. index)Add new parameter. |
| private static List | |
| public static List | Returns: a list of all endpoints with path matching the request path. The endpoints are in order of match preference, best match first.request path. requestPath, Set<TyrusEndpointWrapper> endpoints. endpoints, DebugContext debug context. debugContext)Return a list of all endpoints with path matching the request path. |
| public TyrusEndpointWrapper | |
| pack-priv int | Returns: the index of the left most path variable.Get the index of the left most path variable. |
| public Map | |
| private static String | |
| pack-priv List | Returns: list of variable segment indices.Get variable segment indices (indexes). |
| public static boolean | Returns: true when provided path are equivalent, false otherwise.path to be checked. path1, String path to be checked. path2)Check for equivalent paths. |
| pack-priv boolean | Returns: true if the path of the matched endpoint does not contain any variables, false otherwise.
|
| private static boolean | |
| private static Match | |
| public String |
| endpointWrapper | back to summary |
|---|---|
| private final TyrusEndpointWrapper endpointWrapper | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| parameters | back to summary |
|---|---|
| private final Map<String, String> parameters | |
| variableSegmentIndices | back to summary |
|---|---|
| private final List<Integer> variableSegmentIndices | |
| Match | back to summary |
|---|---|
| private Match(TyrusEndpointWrapper endpointWrapper) Constructor.
| |
| addParameter | back to summary |
|---|---|
| pack-priv void addParameter(String name, String value, int index) Add new parameter. | |
| asEquivalenceList | back to summary |
|---|---|
| private static List Decodes the path and replaces all variables with {x}. | |
| getAllMatches | back to summary |
|---|---|
| public static List Return a list of all endpoints with path matching the request path. The endpoints are in order of match preference, best match first.
| |
| getEndpointWrapper | back to summary |
|---|---|
| public TyrusEndpointWrapper getEndpointWrapper() Get endpoint wrapper.
| |
| getLowestVariableSegmentIndex | back to summary |
|---|---|
| pack-priv int getLowestVariableSegmentIndex() Get the index of the left most path variable.
| |
| getParameters | back to summary |
|---|---|
| public Map Get map of parameter names-value pairs. | |
| getVariableName | back to summary |
|---|---|
| private static String getVariableName(String segment) | |
| getVariableSegmentIndices | back to summary |
|---|---|
| pack-priv List Get variable segment indices (indexes). | |
| isEquivalent | back to summary |
|---|---|
| public static boolean isEquivalent(String path1, String path2) Check for equivalent paths. | |
| isExact | back to summary |
|---|---|
| pack-priv boolean isExact()
| |
| isVariable | back to summary |
|---|---|
| private static boolean isVariable(String segment) | |
| matchPath | back to summary |
|---|---|
| private static Match matchPath(String requestPath, TyrusEndpointWrapper endpoint, DebugContext debugContext) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |