| Package | Description |
|---|---|
| org.springframework.hateoas |
Value objects to ease creating
Links and link driven representations for REST
webservices. |
| org.springframework.hateoas.mediatype.hal |
HAL-specific extensions, SPIs and Jackson customizations.
|
| Modifier and Type | Method and Description |
|---|---|
UriTemplate |
Link.getTemplate() |
static UriTemplate |
UriTemplate.of(String template)
Returns a
UriTemplate for the given String template. |
static UriTemplate |
UriTemplate.of(String template,
TemplateVariables variables)
Returns a
UriTemplate for the given String template. |
UriTemplate |
UriTemplate.with(String variableName,
TemplateVariable.VariableType type)
Creates a new
UriTemplate with a TemplateVariable with the given name and type added. |
UriTemplate |
UriTemplate.with(TemplateVariable variable)
Creates a new
UriTemplate with the given TemplateVariable added. |
UriTemplate |
UriTemplate.with(TemplateVariables variables)
Creates a new
UriTemplate with the current TemplateVariables augmented with the given ones. |
| Modifier and Type | Method and Description |
|---|---|
static Link |
Link.of(UriTemplate template,
LinkRelation relation)
|
static Link |
Link.of(UriTemplate template,
String relation)
Creates a new
Link to the given UriTemplate and link relation. |
| Constructor and Description |
|---|
Link(UriTemplate template,
LinkRelation rel)
Creates a new Link from the given
UriTemplate and rel. |
| Modifier and Type | Method and Description |
|---|---|
protected String |
DefaultCurieProvider.getCurieHref(String name,
UriTemplate template)
Returns the href for the
DefaultCurieProvider.Curie instance to be created. |
| Constructor and Description |
|---|
DefaultCurieProvider(String name,
UriTemplate uriTemplate)
Creates a new
DefaultCurieProvider for the given name and UriTemplate. |
| Constructor and Description |
|---|
DefaultCurieProvider(Map<String,UriTemplate> curies)
Creates a new
DefaultCurieProvider for the given curies. |
DefaultCurieProvider(Map<String,UriTemplate> curies,
String defaultCurieName)
Creates a new
DefaultCurieProvider for the given curies using the one with the given name as default, which
means to expand unprefixed, non-IANA link relations. |
Copyright © 2011–2023 Pivotal, Inc.. All rights reserved.