| Package | Description |
|---|---|
| org.springframework.hateoas.mediatype.hal.forms |
HAL-FORMS extension media type.
|
| Modifier and Type | Method and Description |
|---|---|
HalFormsTemplate |
HalFormsTemplate.andContentType(MediaType mediaType)
Returns a new
HalFormsTemplate with the given MediaType added as content type. |
HalFormsTemplate |
HalFormsTemplate.andProperty(HalFormsProperty property)
Returns a new
HalFormsTemplate with the given HalFormsProperty added. |
static HalFormsTemplate |
HalFormsTemplate.forMethod(HttpMethod httpMethod) |
HalFormsTemplate |
HalFormsDocument.getDefaultTemplate()
Returns the default template of the document.
|
HalFormsTemplate |
HalFormsDocument.getTemplate(String key)
Returns the template with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
HalFormsDocument<T> |
HalFormsDocument.andTemplate(String name,
HalFormsTemplate template)
Adds the given
HalFormsTemplate to the current document. |
Copyright © 2011–2019 Pivotal, Inc.. All rights reserved.