| Package | Description |
|---|---|
| org.springframework.hateoas.mediatype.hal.forms |
| Modifier and Type | Method and Description |
|---|---|
HalFormsDocument<T> |
HalFormsDocument.andEmbedded(HalLinkRelation key,
Object value)
Adds the given value as embedded one.
|
HalFormsDocument<T> |
HalFormsDocument.andLink(Link link)
Adds the given
Link to the current document. |
HalFormsDocument<T> |
HalFormsDocument.andTemplate(String name,
HalFormsTemplate template)
Adds the given
HalFormsTemplate to the current document. |
static HalFormsDocument<?> |
HalFormsDocument.empty()
Creates a new empty
HalFormsDocument. |
static <T> HalFormsDocument<T> |
HalFormsDocument.forResource(T resource)
Creates a new
HalFormsDocument for the given resource. |
static <T> HalFormsDocument<T> |
HalFormsDocument.forResources(Collection<T> resources)
returns a new
HalFormsDocument for the given resources. |
Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.