public abstract class AffordanceModel extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
AffordanceModel.InputPayloadMetadata
Payload metadata for incoming requests.
|
static interface |
AffordanceModel.Named
A named component.
|
static interface |
AffordanceModel.PayloadMetadata
Metadata about payloads.
|
static interface |
AffordanceModel.PropertyMetadata
Metadata about the property model of a representation.
|
static interface |
AffordanceModel.PropertyMetadataConfigured<T>
SPI for a type that can get
AffordanceModel.PropertyMetadata applied. |
| Constructor and Description |
|---|
AffordanceModel() |
| Modifier and Type | Method and Description |
|---|---|
String |
getURI()
Expand the
Link into an href with no parameters. |
boolean |
hasHttpMethod(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(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.