public final class TemplateLiteral extends Object implements URITemplateExpression
This covers all strings inbetween actual URI template expressions.
| Constructor and Description |
|---|
TemplateLiteral(String literal) |
| Modifier and Type | Method and Description |
|---|---|
String |
expand(VariableMap vars)
Compute an expanded string given a map of variables
|
public TemplateLiteral(String literal)
public String expand(VariableMap vars) throws URITemplateException
URITemplateExpressionexpand in interface URITemplateExpressionvars - the variables (names and values)URITemplateException - incompatible variable/expansion pair