Package | Description |
---|---|
org.seedstack.seed.rest |
Provides classes for building REST API.
|
org.seedstack.seed.rest.hal |
Provides classes for constructing HAL representations.
|
Modifier and Type | Method and Description |
---|---|
Link |
RelRegistry.uri(String rel)
Finds the link representation associated to a rel.
|
Modifier and Type | Method and Description |
---|---|
Link |
Link.deprecate(String deprecation)
Indicates that the resource is deprecated and
specify the URI for deprecation information.
|
Link |
Link.hrefLang(String hrefLang) |
Link |
Link.name(String name)
Specifies an additional name for the link.
|
Link |
Link.profile(URI profile) |
Link |
Link.set(String variableName,
Object value) |
Link |
Link.templated()
Indicates that the href is templated.
|
Link |
Link.title(String title) |
Link |
Link.type(String type)
Indicates the media type used by the resource.
|
Modifier and Type | Method and Description |
---|---|
HalRepresentation |
HalRepresentation.link(String rel,
Link link)
Adds a link with the specified rel and link representation.
|
HalRepresentation |
HalRepresentation.self(Link link)
Adds the self link.
|
Constructor and Description |
---|
Link(Link link)
Copy constructor.
|
Copyright © 2013-2018–2019 SeedStack. All rights reserved.