Uses of Class
org.springframework.hateoas.UriTemplate
Packages that use UriTemplate
Package
Description
Value objects to ease creating
Link
s and link driven representations for REST
webservices.HAL-specific extensions, SPIs and Jackson customizations.
-
Uses of UriTemplate in org.springframework.hateoas
Methods in org.springframework.hateoas that return UriTemplateModifier and TypeMethodDescriptionLink.getTemplate()
static UriTemplate
Returns aUriTemplate
for the givenString
template.static UriTemplate
UriTemplate.of
(String template, TemplateVariables variables) Returns aUriTemplate
for the givenString
template.UriTemplate.with
(String variableName, TemplateVariable.VariableType type) Creates a newUriTemplate
with aTemplateVariable
with the given name and type added.UriTemplate.with
(TemplateVariable variable) Creates a newUriTemplate
with the givenTemplateVariable
added.UriTemplate.with
(TemplateVariables variables) Creates a newUriTemplate
with the currentTemplateVariable
s augmented with the given ones.Methods in org.springframework.hateoas with parameters of type UriTemplateModifier and TypeMethodDescriptionstatic Link
Link.of
(UriTemplate template, String relation) Creates a newLink
to the givenUriTemplate
and link relation.static Link
Link.of
(UriTemplate template, LinkRelation relation) Constructors in org.springframework.hateoas with parameters of type UriTemplateModifierConstructorDescriptionprotected
Link
(UriTemplate template, LinkRelation rel) Creates a new Link from the givenUriTemplate
and rel. -
Uses of UriTemplate in org.springframework.hateoas.mediatype.hal
Methods in org.springframework.hateoas.mediatype.hal with parameters of type UriTemplateModifier and TypeMethodDescriptionprotected String
DefaultCurieProvider.getCurieHref
(String name, UriTemplate template) Returns the href for theDefaultCurieProvider.Curie
instance to be created.Constructors in org.springframework.hateoas.mediatype.hal with parameters of type UriTemplateModifierConstructorDescriptionDefaultCurieProvider
(String name, UriTemplate uriTemplate) Creates a newDefaultCurieProvider
for the given name andUriTemplate
.Constructor parameters in org.springframework.hateoas.mediatype.hal with type arguments of type UriTemplateModifierConstructorDescriptionDefaultCurieProvider
(Map<String, UriTemplate> curies) Creates a newDefaultCurieProvider
for the given curies.DefaultCurieProvider
(Map<String, UriTemplate> curies, String defaultCurieName) Creates a newDefaultCurieProvider
for the given curies using the one with the given name as default, which means to expand unprefixed, non-IANA link relations.