public class Hop extends Object
| Constructor and Description |
|---|
Hop() |
| Modifier and Type | Method and Description |
|---|---|
Hop |
header(String headerName,
String headerValue)
Add one header to the HttpHeaders collection.
|
static Hop |
rel(String rel)
Creates a new
Hop for the given relation name. |
Hop |
withParameter(String name,
Object value)
Add one parameter to the map of parameters.
|
public static Hop rel(String rel)
Hop for the given relation name.rel - must not be null or empty.public Hop withParameter(String name, Object value)
name - must not be null or empty.value - can be null.Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.