public class Literal extends UriTemplateComponent
| Constructor and Description |
|---|
Literal(String value,
int startPosition)
Create a new Literal.
|
| Modifier and Type | Method and Description |
|---|---|
Pattern |
getMatchPattern()
Returns a string that contains a regular expression that matches the
URI template expression.
|
String |
getValue() |
String |
toString() |
getEndPosition, getStartPositionpublic Literal(String value, int startPosition)
public String getValue()
getValue in class UriTemplateComponentpublic Pattern getMatchPattern()
UriTemplateComponentgetMatchPattern in class UriTemplateComponentCopyright © 2012-04-30–2016 Ryan J. McDonough. All rights reserved.