| Package | Description |
|---|---|
| org.springframework.hateoas |
Value objects to ease creating
Links and link driven representations for REST webservices. |
| org.springframework.hateoas.hal |
HAL-specific extensions, SPIs and Jackson customizations.
|
| Modifier and Type | Method and Description |
|---|---|
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(TemplateVariables variables)
Creates a new
UriTemplate with the current TemplateVariables augmented with the given ones. |
| Constructor and Description |
|---|
Link(UriTemplate template,
String 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 © 2012-2016–2017 Pivotal, Inc.. All rights reserved.