Uses of Class
org.springframework.hateoas.TemplateVariable
Packages that use TemplateVariable
Package
Description
Value objects to ease creating
Link
s and link driven representations for REST
webservices.-
Uses of TemplateVariable in org.springframework.hateoas
Methods in org.springframework.hateoas that return TemplateVariableModifier 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.Methods in org.springframework.hateoas that return types with arguments of type TemplateVariableModifier 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()
Methods in org.springframework.hateoas with parameters of type TemplateVariableModifier and TypeMethodDescriptionTemplateVariables.concat
(TemplateVariable... variables) Concatenates the givenTemplateVariable
s to the current one.UriTemplate.with
(TemplateVariable variable) Creates a newUriTemplate
with the givenTemplateVariable
added.Method parameters in org.springframework.hateoas with type arguments of type TemplateVariableModifier and TypeMethodDescriptionTemplateVariables.concat
(Collection<TemplateVariable> variables) Concatenates the givenTemplateVariable
s to the current one.Constructors in org.springframework.hateoas with parameters of type TemplateVariableModifierConstructorDescriptionTemplateVariables
(TemplateVariable... variables) Creates a newTemplateVariables
for the givenTemplateVariable
s.Constructor parameters in org.springframework.hateoas with type arguments of type TemplateVariableModifierConstructorDescriptionTemplateVariables
(List<TemplateVariable> variables) Creates a newTemplateVariables
for the givenTemplateVariable
s.
composite()
on the instance instead.