Package | Description |
---|---|
org.springframework.hateoas |
Value objects to ease creating
Link s and link driven representations for REST webservices. |
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 |
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 |
---|---|
static List<Affordance> |
SpringAffordanceBuilder.create(MethodInvocation invocation,
MappingDiscoverer discoverer,
org.springframework.web.util.UriComponents components)
Use the attributes of the current method call along with a collection of
AffordanceModelFactory 's to create
a set of Affordance s. |
Modifier and Type | Method and Description |
---|---|
T |
LinkBuilderSupport.addAffordances(Collection<Affordance> affordances) |
T |
WebHandler.LinkBuilderCreator.createBuilder(org.springframework.web.util.UriComponents components,
TemplateVariables variables,
List<Affordance> affordances) |
protected T |
TemplateVariableAwareLinkBuilderSupport.createNewInstance(org.springframework.web.util.UriComponentsBuilder builder,
List<Affordance> affordances) |
protected abstract T |
LinkBuilderSupport.createNewInstance(org.springframework.web.util.UriComponentsBuilder builder,
List<Affordance> affordances)
Creates a new instance of the sub-class.
|
protected abstract T |
TemplateVariableAwareLinkBuilderSupport.createNewInstance(org.springframework.web.util.UriComponentsBuilder builder,
List<Affordance> affordances,
TemplateVariables variables) |
Constructor and Description |
---|
LinkBuilderSupport(org.springframework.web.util.UriComponentsBuilder builder,
List<Affordance> affordances) |
LinkBuilderSupport(org.springframework.web.util.UriComponents components,
List<Affordance> affordances) |
TemplateVariableAwareLinkBuilderSupport(org.springframework.web.util.UriComponentsBuilder builder,
TemplateVariables variables,
List<Affordance> affordances) |
TemplateVariableAwareLinkBuilderSupport(org.springframework.web.util.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 WebMvcLinkBuilder |
WebMvcLinkBuilder.createNewInstance(org.springframework.web.util.UriComponentsBuilder builder,
List<Affordance> affordances,
TemplateVariables variables) |
protected ControllerLinkBuilder |
ControllerLinkBuilder.createNewInstance(org.springframework.web.util.UriComponentsBuilder builder,
List<Affordance> affordances,
TemplateVariables variables)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected WebFluxLinkBuilder |
WebFluxLinkBuilder.createNewInstance(org.springframework.web.util.UriComponentsBuilder builder,
List<Affordance> affordances,
TemplateVariables variables) |
Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.