Package | Description |
---|---|
org.springframework.hateoas.client |
Client side support.
|
Modifier and Type | Method and Description |
---|---|
Hop |
Hop.header(String headerName,
String headerValue)
Add one header to the HttpHeaders collection.
|
static Hop |
Hop.rel(String rel)
Creates a new
Hop for the given relation name. |
Hop |
Hop.withHeaders(HttpHeaders headers)
Create a new
Hop by copying all the attributes and replacing the headers. |
Hop |
Hop.withParameter(String name,
Object value)
Add one parameter to the map of parameters.
|
Hop |
Hop.withParameters(Map<String,Object> parameters)
Create a new
Hop by copying all the attributes and replacing the parameters. |
Modifier and Type | Method and Description |
---|---|
Traverson.TraversalBuilder |
Traverson.follow(Hop hop)
Sets up a
Traverson.TraversalBuilder for a single rel with customized details. |
Traverson.TraversalBuilder |
Traverson.TraversalBuilder.follow(Hop hop)
Follows the given rels one by one, which means a request per rel to discover the next resource with the rel in
line.
|
Copyright © 2011–2021 VMware, Inc.. All rights reserved.