Package | Description |
---|---|
org.springframework.hateoas |
Value objects to ease creating
Link s and link driven representations for REST
webservices. |
Modifier and Type | Method and Description |
---|---|
TemplateVariable |
TemplateVariable.composite()
Marks the current template variable as composite value.
|
static TemplateVariable |
TemplateVariable.compositeParameter(String parameter)
Deprecated.
since 1.4, use actual parameter type and call
composite() on the instance instead. |
static TemplateVariable |
TemplateVariable.fragment(String name)
Static helper to fashion
TemplateVariable.VariableType.FRAGMENT variables. |
TemplateVariable |
TemplateVariable.limit(int limit) |
static TemplateVariable |
TemplateVariable.pathVariable(String variable)
Static helper to fashion
TemplateVariable.VariableType.PATH_VARIABLE variables. |
static TemplateVariable |
TemplateVariable.requestParameter(String parameter)
Static helper to fashion
TemplateVariable.VariableType.REQUEST_PARAM variables. |
static TemplateVariable |
TemplateVariable.requestParameterContinued(String parameter)
Static helper to fashion
TemplateVariable.VariableType.REQUEST_PARAM_CONTINUED variables. |
static TemplateVariable |
TemplateVariable.reservedString(String name) |
static TemplateVariable |
TemplateVariable.segment(String segment)
Static helper to fashion
TemplateVariable.VariableType.SEGMENT variables. |
TemplateVariable |
TemplateVariable.singular()
Marks the current template variable as singular value.
|
Modifier and Type | Method and Description |
---|---|
List<TemplateVariable> |
TemplateVariables.asList()
Returns the contained
TemplateVariable s as List . |
List<TemplateVariable> |
UriTemplate.getVariables()
Returns the
TemplateVariable s discovered. |
List<TemplateVariable> |
Link.getVariables()
Returns all
TemplateVariables contained in the Link . |
Iterator<TemplateVariable> |
UriTemplate.iterator() |
Iterator<TemplateVariable> |
TemplateVariables.iterator() |
Stream<TemplateVariable> |
TemplateVariables.stream() |
Modifier and Type | Method and Description |
---|---|
TemplateVariables |
TemplateVariables.concat(TemplateVariable... variables)
Concatenates the given
TemplateVariable s to the current one. |
UriTemplate |
UriTemplate.with(TemplateVariable variable)
Creates a new
UriTemplate with the given TemplateVariable added. |
Modifier and Type | Method and Description |
---|---|
TemplateVariables |
TemplateVariables.concat(Collection<TemplateVariable> variables)
Concatenates the given
TemplateVariable s to the current one. |
Constructor and Description |
---|
TemplateVariables(TemplateVariable... variables)
Creates a new
TemplateVariables for the given TemplateVariable s. |
Constructor and Description |
---|
TemplateVariables(List<TemplateVariable> variables)
Creates a new
TemplateVariables for the given TemplateVariable s. |
Copyright © 2011–2021 Pivotal, Inc.. All rights reserved.