| Package | Description |
|---|---|
| org.springframework.hateoas.mediatype |
Spring container configuration support.
|
| Modifier and Type | Method and Description |
|---|---|
ConfigurableAffordance |
ConfigurableAffordance.addParameters(QueryParameter... parameters)
Adds the given
QueryParameters to the Affordance to build. |
ConfigurableAffordance |
Affordances.afford(HttpMethod httpMethod)
Creates a new
AffordanceBuilder for the given HTTP method for further customization. |
ConfigurableAffordance |
ConfigurableAffordance.andAfford(HttpMethod method)
Concludes the creation of the current
Affordance to build and starts a new one. |
ConfigurableAffordance |
ConfigurableAffordance.withInput(AffordanceModel.PayloadMetadata metadata)
Registers the given
AffordanceModel.PayloadMetadata as input model. |
ConfigurableAffordance |
ConfigurableAffordance.withInput(Class<?> type)
Registers the given type as input model for the affordance.
|
ConfigurableAffordance |
ConfigurableAffordance.withInput(ResolvableType type)
Registers the given
ResolvableType as input model for the affordance. |
ConfigurableAffordance |
ConfigurableAffordance.withInputAndOutput(AffordanceModel.PayloadMetadata metadata)
Registers the given
AffordanceModel.PayloadMetadata as input and output model. |
ConfigurableAffordance |
ConfigurableAffordance.withInputAndOutput(Class<?> type)
Registers the given type as input and output model for the affordance.
|
ConfigurableAffordance |
ConfigurableAffordance.withInputAndOutput(ResolvableType type)
Registers the given
ResolvableType as input and output model for the affordance. |
ConfigurableAffordance |
ConfigurableAffordance.withInputMediaType(MediaType inputMediaType)
Registers the input to expect to be of the given
MediaType. |
ConfigurableAffordance |
ConfigurableAffordance.withInputMediaTypes(List<MediaType> inputMediaTypes)
Registers the given
MediaTypes as input payload media types. |
ConfigurableAffordance |
ConfigurableAffordance.withName(String name)
Create a new
ConfigurableAffordance by copying all attributes and replacing the name. |
ConfigurableAffordance |
ConfigurableAffordance.withOutput(AffordanceModel.PayloadMetadata metadata)
Registers the given
AffordanceModel.PayloadMetadata as output model. |
ConfigurableAffordance |
ConfigurableAffordance.withOutput(Class<?> type)
Registers the given type as the output model.
|
ConfigurableAffordance |
ConfigurableAffordance.withOutput(ResolvableType type)
Registers the given
ResolvableType as the output model. |
ConfigurableAffordance |
ConfigurableAffordance.withParameters(List<QueryParameter> parameters)
Replaces the current
QueryParameter list with the given ones. |
ConfigurableAffordance |
ConfigurableAffordance.withParameters(QueryParameter... parameters)
Replaces the current
QueryParameter list with the given ones. |
ConfigurableAffordance |
ConfigurableAffordance.withTarget(Link target)
Create a new
ConfigurableAffordance by copying all attributes and replacing the target. |
Copyright © 2011–2023 Pivotal, Inc.. All rights reserved.