public abstract class AffordanceModel extends Object
| Constructor and Description |
|---|
AffordanceModel() |
| Modifier and Type | Method and Description |
|---|---|
String |
getURI()
Expand the
Link into an href with no parameters. |
boolean |
hasHttpMethod(org.springframework.http.HttpMethod method)
Returns whether the
Affordance has the given HttpMethod. |
boolean |
pointsToTargetOf(Link link)
Returns whether the
Affordance points to the target of the given Link. |
public boolean hasHttpMethod(org.springframework.http.HttpMethod method)
Affordance has the given HttpMethod.method - must not be null.public boolean pointsToTargetOf(Link link)
Affordance points to the target of the given Link.link - must not be null.Copyright © 2012-2019–2019 Pivotal, Inc.. All rights reserved.