Package | Description |
---|---|
org.springframework.hateoas |
Value objects to ease creating
Link s 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
Link s and assemble
RepresentationModel types. |
org.springframework.hateoas.server.reactive |
Spring WebFlux components to build
Link s and assemble
RepresentationModel types. |
Modifier and Type | Method and Description |
---|---|
List<Affordance> |
Link.getAffordances()
Returns safe copy of
Affordance s. |
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 Affordance s. |
Link |
Link.withAffordances(List<Affordance> affordances)
Creats a new
Link with the given Affordance s. |
Modifier and Type | Method and Description |
---|---|
Stream<Affordance> |
Affordances.stream()
Returns all
Affordance s created. |
Modifier and Type | Method and Description |
---|---|
static List<Affordance> |
SpringAffordanceBuilder.create(Class<?> type,
Method method,
String href,
MappingDiscoverer discoverer)
Use the attributes of the current method call along with a collection of
AffordanceModelFactory 's to create
a set of Affordance s. |
List<Affordance> |
LinkBuilderSupport.getAffordances() |
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)
|
static Affordance |
ControllerLinkBuilder.afford(Object invocationValue)
Deprecated.
|
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) |
protected ControllerLinkBuilder |
ControllerLinkBuilder.createNewInstance(UriComponents components,
List<Affordance> affordances,
TemplateVariables variables)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected WebFluxLinkBuilder |
WebFluxLinkBuilder.createNewInstance(UriComponents components,
List<Affordance> affordances,
TemplateVariables variables) |
Copyright © 2011–2020 Pivotal, Inc.. All rights reserved.