public final class PathPattern extends UriPattern
Modifier and Type | Field and Description |
---|---|
static Comparator<PathPattern> |
COMPARATOR
Defer to comparing the templates associated with the patterns.
|
static PathPattern |
EMPTY_PATH
Empty path.
|
EMPTY
Constructor and Description |
---|
PathPattern(UriTemplate template)
Public constructor.
|
PathPattern(UriTemplate template,
String rightHandSide)
Public ctor.
|
Modifier and Type | Method and Description |
---|---|
UriTemplate |
getTemplate()
Get template.
|
equals, getGroupIndexes, getRegex, hashCode, match, match, match, toString
public static final PathPattern EMPTY_PATH
PathPattern()
public static final Comparator<PathPattern> COMPARATOR
public PathPattern(UriTemplate template)
template
- The templatepublic PathPattern(UriTemplate template, String rightHandSide)
template
- The templaterightHandSide
- Right hand side of the templatepublic UriTemplate getTemplate()
Copyright © 2013 Oracle Corporation. All rights reserved.