Uses of Class
org.springframework.hateoas.TemplateVariable
Package
Description
Value objects to ease creating
Link
s and link driven representations for REST
webservices.-
Uses of TemplateVariable in org.springframework.hateoas
Modifier and TypeMethodDescriptionTemplateVariable.composite()
Marks the current template variable as composite value.static TemplateVariable
TemplateVariable.compositeParameter
(String parameter) Deprecated.static TemplateVariable
Static helper to fashionTemplateVariable.VariableType.FRAGMENT
variables.TemplateVariable.limit
(int limit) static TemplateVariable
TemplateVariable.pathVariable
(String variable) Static helper to fashionTemplateVariable.VariableType.PATH_VARIABLE
variables.static TemplateVariable
TemplateVariable.requestParameter
(String parameter) Static helper to fashionTemplateVariable.VariableType.REQUEST_PARAM
variables.static TemplateVariable
TemplateVariable.requestParameterContinued
(String parameter) Static helper to fashionTemplateVariable.VariableType.REQUEST_PARAM_CONTINUED
variables.static TemplateVariable
TemplateVariable.reservedString
(String name) static TemplateVariable
Static helper to fashionTemplateVariable.VariableType.SEGMENT
variables.TemplateVariable.singular()
Marks the current template variable as singular value.Modifier and TypeMethodDescriptionTemplateVariables.asList()
Returns the containedTemplateVariable
s asList
.Link.getVariables()
Returns allTemplateVariables
contained in theLink
.UriTemplate.getVariables()
Returns theTemplateVariable
s discovered.TemplateVariables.iterator()
UriTemplate.iterator()
TemplateVariables.stream()
Modifier and TypeMethodDescriptionTemplateVariables.concat
(TemplateVariable... variables) Concatenates the givenTemplateVariable
s to the current one.UriTemplate.with
(TemplateVariable variable) Creates a newUriTemplate
with the givenTemplateVariable
added.Modifier and TypeMethodDescriptionTemplateVariables.concat
(Collection<TemplateVariable> variables) Concatenates the givenTemplateVariable
s to the current one.ModifierConstructorDescriptionTemplateVariables
(TemplateVariable... variables) Creates a newTemplateVariables
for the givenTemplateVariable
s.ModifierConstructorDescriptionTemplateVariables
(List<TemplateVariable> variables) Creates a newTemplateVariables
for the givenTemplateVariable
s.
composite()
on the instance instead.