| Package | Description |
|---|---|
| com.damnhandy.uri.template |
Handy URI Templates
|
| com.damnhandy.uri.template.impl |
| Modifier and Type | Method and Description |
|---|---|
UriTemplate |
UriTemplateBuilder.build()
Generates a
UriTemplate instance from the builder. |
static UriTemplateBuilder |
UriTemplate.buildFromTemplate(String template)
Creates a new
UriTemplateBuilder from the template string. |
static UriTemplateBuilder |
UriTemplate.buildFromTemplate(UriTemplate baseTemplate)
Creates a new
UriTemplateBuilder from a root UriTemplate. |
static String |
UriTemplate.expand(String templateString,
Map<String,Object> values)
Expands the given template string using the variable replacements
in the supplied
Map. |
static String |
UriTemplate.expandPartial(String templateString,
Map<String,Object> values)
Expands the given template string using the variable replacements
in the supplied
Map. |
static UriTemplate |
UriTemplate.fromTemplate(String templateString)
Creates a new
UriTemplate from the template. |
static UriTemplateBuilder |
UriTemplate.fromTemplate(UriTemplate baseTemplate)
Creates a new
UriTemplate from a root UriTemplate. |
protected void |
UriTemplate.parseTemplateString()
Parse the URI template string into the template model.
|
| Constructor and Description |
|---|
Expression(String rawExpression,
int startPosition)
Create a new Expression.
|
| Modifier and Type | Method and Description |
|---|---|
LinkedList<UriTemplateComponent> |
UriTemplateParser.scan(String templateString)
Scans the URI template looking for literal string components and expressions.
|
Copyright © 2012-04-30–2016 Ryan J. McDonough. All rights reserved.