| Package | Description |
|---|---|
| org.springframework.hateoas |
Value objects to ease creating
Links and link driven representations for REST
webservices. |
| org.springframework.hateoas.mediatype |
Spring container configuration support.
|
| org.springframework.hateoas.server.core |
Implementations of core API interfaces.
|
| org.springframework.hateoas.server.mvc |
Spring MVC helper classes to build
Links and assemble
RepresentationModel types. |
| org.springframework.hateoas.server.reactive |
Spring WebFlux components to build
Links and assemble
RepresentationModel types. |
| Modifier and Type | Method and Description |
|---|---|
List<Affordance> |
Link.getAffordances()
Returns safe copy of
Affordances. |
| Modifier and Type | Method and Description |
|---|---|
Link |
Link.andAffordance(Affordance affordance)
Create new
Link with an additional Affordance. |
| Modifier and Type | Method and Description |
|---|---|
Link |
Link.andAffordances(List<Affordance> affordances)
Create new
Link with additional Affordances. |
Link |
Link.withAffordances(List<Affordance> affordances)
Creats a new
Link with the given Affordances. |
| Modifier and Type | Method and Description |
|---|---|
Stream<Affordance> |
Affordances.stream()
Returns all
Affordances created. |
| Modifier and Type | Method and Description |
|---|---|
List<Affordance> |
LinkBuilderSupport.getAffordances() |
static List<Affordance> |
SpringAffordanceBuilder.getAffordances(Class<?> type,
Method method,
String href)
Returns all
Affordances for the given type's method and base URI. |
| Modifier and Type | Method and Description |
|---|---|
T |
LinkBuilderSupport.addAffordances(Collection<Affordance> affordances) |
T |
WebHandler.LinkBuilderCreator.createBuilder(UriComponents components,
TemplateVariables variables,
List<Affordance> affordances) |
protected abstract T |
LinkBuilderSupport.createNewInstance(UriComponents components,
List<Affordance> affordances)
Creates a new instance of the sub-class.
|
protected T |
TemplateVariableAwareLinkBuilderSupport.createNewInstance(UriComponents components,
List<Affordance> affordances) |
protected abstract T |
TemplateVariableAwareLinkBuilderSupport.createNewInstance(UriComponents components,
List<Affordance> affordances,
TemplateVariables variables) |
| Constructor and Description |
|---|
LinkBuilderSupport(UriComponents components,
List<Affordance> affordances) |
TemplateVariableAwareLinkBuilderSupport(UriComponents components,
TemplateVariables variables,
List<Affordance> affordances) |
| Modifier and Type | Method and Description |
|---|---|
static Affordance |
WebMvcLinkBuilder.afford(Object invocationValue)
|
| Modifier and Type | Method and Description |
|---|---|
protected BasicLinkBuilder |
BasicLinkBuilder.createNewInstance(UriComponents components,
List<Affordance> affordances) |
protected WebMvcLinkBuilder |
WebMvcLinkBuilder.createNewInstance(UriComponents components,
List<Affordance> affordances,
TemplateVariables variables) |
| Modifier and Type | Method and Description |
|---|---|
protected WebFluxLinkBuilder |
WebFluxLinkBuilder.createNewInstance(UriComponents components,
List<Affordance> affordances,
TemplateVariables variables) |
Copyright © 2011–2021 Pivotal, Inc.. All rights reserved.