Package | Description |
---|---|
org.seedstack.seed.rest.hal |
Provides classes for constructing HAL representations.
|
Modifier and Type | Class and Description |
---|---|
class |
HalDefaultRepresentation |
Modifier and Type | Method and Description |
---|---|
static HalRepresentation |
HalBuilder.create(Object representation)
Creates a new HAL representation based on a given representation.
|
HalRepresentation |
HalRepresentation.embedded(String rel,
Object embedded)
Adds an embedded resource or array of resources.
|
HalRepresentation |
HalRepresentation.link(String rel,
Link link)
Adds a link with the specified rel and link representation.
|
HalRepresentation |
HalRepresentation.link(String rel,
String href)
Adds a link with the specified rel and href.
|
HalRepresentation |
HalRepresentation.self(Link link)
Adds the self link.
|
HalRepresentation |
HalRepresentation.self(String href)
Adds the self link.
|
Copyright © 2013-2018–2019 SeedStack. All rights reserved.