| Package | Description |
|---|---|
| com.damnhandy.uri.template |
Handy URI Templates
|
| com.damnhandy.uri.template.impl |
| Modifier and Type | Method and Description |
|---|---|
static VarSpec |
UriTemplateBuilder.var(String varName)
Adds a variable name to the expression.
|
static VarSpec |
UriTemplateBuilder.var(String varName,
boolean explode)
Adds a variable name to the expression with an explode modifier.
|
static VarSpec |
UriTemplateBuilder.var(String varName,
int prefix)
Adds a variable name to the expression with a prefix modifier.
|
| Modifier and Type | Method and Description |
|---|---|
List<VarSpec> |
Expression.getVarSpecs()
Get the varSpecs.
|
| Modifier and Type | Method and Description |
|---|---|
UriTemplateBuilder |
UriTemplateBuilder.continuation(VarSpec... var)
Appends a template expression using the form-style query continuation and
and optional modifier.
|
static Expression.Builder |
Expression.continuation(VarSpec... varSpec)
Creates a new
Expression.Builder to create an expression using form-style query continuation expansion
according to section 3.2.9. |
UriTemplateBuilder |
UriTemplateBuilder.fragment(VarSpec... var)
Appends a template expression using the fragment operator (#) with a
modifier.
|
static Expression.Builder |
Expression.fragment(VarSpec... varSpec)
Creates a new
Expression.Builder to create an expression with a fragment operator
according to section 3.2.4. |
UriTemplateBuilder |
UriTemplateBuilder.label(VarSpec... var)
Appends a template expression using the label (.) operator and modifier.
|
static Expression.Builder |
Expression.label(VarSpec... varSpec)
Creates a new
Expression.Builder to create an expression using label expansion
according to section 3.2.5. |
UriTemplateBuilder |
UriTemplateBuilder.matrix(VarSpec... var)
Appends a template expression using the matrix (;) operator and modifier.
|
static Expression.Builder |
Expression.matrix(VarSpec... varSpec)
Creates a new
Expression.Builder to create an expression using path-style parameter
(a.k.a. |
UriTemplateBuilder |
UriTemplateBuilder.path(VarSpec... var)
Appends a template expression using the path (/) operator and modifier.
|
static Expression.Builder |
Expression.path(VarSpec... varSpec)
Creates a new
Expression.Builder to create an expression using path expansion
according to section 3.2.6. |
UriTemplateBuilder |
UriTemplateBuilder.query(VarSpec... var)
Appends a template expression using the query (?) operator and
and optional modifier.
|
static Expression.Builder |
Expression.query(VarSpec... varSpec)
Creates a new
Expression.Builder to create an expression using form-style query string expansion
according to section 3.2.8. |
UriTemplateBuilder |
UriTemplateBuilder.reserved(VarSpec... var)
Appends a template expression using the reserved operator (+) along
with an optional modifier.
|
static Expression.Builder |
Expression.reserved(VarSpec... varSpec)
Creates a new
Expression.Builder to create an expression that will use reserved expansion
according to section 3.2.3. |
UriTemplateBuilder |
UriTemplateBuilder.simple(VarSpec... var)
Appends a template expression using no operator but with an optional
modifier.
|
static Expression.Builder |
Expression.simple(VarSpec... varSpec)
Creates a new
Expression.Builder to create a simple expression according
to section 3.2.2. |
| Constructor and Description |
|---|
Expression(Operator op,
List<VarSpec> varSpecs)
Create a new Expression
|
| Modifier and Type | Method and Description |
|---|---|
static VarExploder |
VarExploderFactory.getExploder(Object varValue,
VarSpec varSpec) |
Copyright © 2012-04-30–2016 Ryan J. McDonough. All rights reserved.