public class UriTemplateParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
URI_PARAMETERS_PATTERN
Pattern for process URI parameters, for example /a/b/{x}/c .
|
| Constructor and Description |
|---|
UriTemplateParser(String template) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
encodeLiteralCharacters(String literalCharacters)
Encode set of literal characters.
|
int[] |
getGroupIndexes() |
int |
getNumberOfLiteralCharacters()
Get the number of literal characters in the template.
|
List<String> |
getParameterNames() |
String |
getRegex()
Get the regular expression.
|
String |
getTemplate()
Get the URI template.
|
public static final Pattern URI_PARAMETERS_PATTERN
public UriTemplateParser(String template)
template - source URI templatepublic final int getNumberOfLiteralCharacters()
public final String getRegex()
public final String getTemplate()
public final int[] getGroupIndexes()
Copyright © 2012–2016 Codenvy, S.A.. All rights reserved.