Uses of Class
org.springframework.hateoas.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
Modifier 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.Modifier 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) ModifierConstructorDescriptionprotected
Link
(UriTemplate template, LinkRelation rel) Creates a new Link from the givenUriTemplate
and rel. -
Uses of UriTemplate in org.springframework.hateoas.mediatype.hal
Modifier and TypeMethodDescriptionprotected String
DefaultCurieProvider.getCurieHref
(String name, UriTemplate template) Returns the href for theDefaultCurieProvider.Curie
instance to be created.ModifierConstructorDescriptionDefaultCurieProvider
(String name, UriTemplate uriTemplate) Creates a newDefaultCurieProvider
for the given name andUriTemplate
.ModifierConstructorDescriptionDefaultCurieProvider
(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.