public final class PathTemplate extends UriTemplate
| Modifier and Type | Class and Description |
|---|---|
private static class |
PathTemplate.PathTemplateParser
Internal parser of this PathTemplate.
|
COMPARATOR, EMPTY| Constructor and Description |
|---|
PathTemplate(java.lang.String path)
Create a URI path template and encode (percent escape) any characters of
the template that are not valid URI characters.
|
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
prefixWithSlash(java.lang.String path)
Converts the path provided to a slash-leading form, no matter what is provided.
|
createURI, createURI, createURI, createURI, createURI, createURIWithStringValues, createURIWithStringValues, endsWithSlash, equals, getNumberOfExplicitCharacters, getNumberOfExplicitRegexes, getNumberOfRegexGroups, getNumberOfTemplateVariables, getPattern, getTemplate, getTemplateVariables, hashCode, isTemplateVariablePresent, match, match, normalize, normalize, relativize, resolve, resolve, resolveTemplateValues, toStringpublic PathTemplate(java.lang.String path)
'/') will be automatically prefixed with one.path - the URI path template.private static java.lang.String prefixWithSlash(java.lang.String path)
path - the URI path template.PathTemplate(String)