Uses of Class
org.springframework.hateoas.UriTemplate
Packages that use UriTemplate
Package
Description
Value objects to ease creating
Links 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 UriTemplateReturns aUriTemplatefor the givenStringtemplate.static UriTemplateUriTemplate.of(String template, TemplateVariables variables) Returns aUriTemplatefor the givenStringtemplate.UriTemplate.with(String variableName, TemplateVariable.VariableType type) Creates a newUriTemplatewith aTemplateVariablewith the given name and type added.UriTemplate.with(TemplateVariable variable) Creates a newUriTemplatewith the givenTemplateVariableadded.UriTemplate.with(TemplateVariables variables) Creates a newUriTemplatewith the currentTemplateVariables augmented with the given ones.Methods in org.springframework.hateoas with parameters of type UriTemplateModifier and TypeMethodDescriptionstatic LinkLink.of(UriTemplate template, String relation) Creates a newLinkto the givenUriTemplateand link relation.static LinkLink.of(UriTemplate template, LinkRelation relation) Constructors in org.springframework.hateoas with parameters of type UriTemplateModifierConstructorDescriptionprotectedLink(UriTemplate template, LinkRelation rel) Creates a new Link from the givenUriTemplateand rel. -
Uses of UriTemplate in org.springframework.hateoas.mediatype.hal
Methods in org.springframework.hateoas.mediatype.hal with parameters of type UriTemplateModifier and TypeMethodDescriptionprotected StringDefaultCurieProvider.getCurieHref(String name, UriTemplate template) Returns the href for theDefaultCurieProvider.Curieinstance to be created.Constructors in org.springframework.hateoas.mediatype.hal with parameters of type UriTemplateModifierConstructorDescriptionDefaultCurieProvider(String name, UriTemplate uriTemplate) Creates a newDefaultCurieProviderfor the given name andUriTemplate.Constructor parameters in org.springframework.hateoas.mediatype.hal with type arguments of type UriTemplateModifierConstructorDescriptionDefaultCurieProvider(Map<String, UriTemplate> curies) Creates a newDefaultCurieProviderfor the given curies.DefaultCurieProvider(Map<String, UriTemplate> curies, @Nullable String defaultCurieName) Creates a newDefaultCurieProviderfor the given curies using the one with the given name as default, which means to expand unprefixed, non-IANA link relations.