Uses of Interface
org.springframework.hateoas.mediatype.ConfigurableAffordance
Packages that use ConfigurableAffordance
-
Uses of ConfigurableAffordance in org.springframework.hateoas.mediatype
Methods in org.springframework.hateoas.mediatype that return ConfigurableAffordanceModifier and TypeMethodDescriptionConfigurableAffordance.addParameters(QueryParameter... parameters) Adds the givenQueryParameters to theAffordanceto build.Affordances.afford(HttpMethod httpMethod) Creates a newAffordances.AffordanceBuilderfor the given HTTP method for further customization.ConfigurableAffordance.andAfford(HttpMethod method) Concludes the creation of the currentAffordanceto build and starts a new one.Registers the given type as input model for the affordance.ConfigurableAffordance.withInput(ResolvableType type) Registers the givenResolvableTypeas input model for the affordance.ConfigurableAffordance.withInput(AffordanceModel.PayloadMetadata metadata) Registers the givenAffordanceModel.PayloadMetadataas input model.ConfigurableAffordance.withInputAndOutput(Class<?> type) Registers the given type as input and output model for the affordance.ConfigurableAffordance.withInputAndOutput(ResolvableType type) Registers the givenResolvableTypeas input and output model for the affordance.ConfigurableAffordance.withInputAndOutput(AffordanceModel.PayloadMetadata metadata) Registers the givenAffordanceModel.PayloadMetadataas input and output model.ConfigurableAffordance.withInputMediaType(MediaType inputMediaType) Registers the input to expect to be of the givenMediaType.ConfigurableAffordance.withInputMediaTypes(List<MediaType> inputMediaTypes) Registers the givenMediaTypes as input payload media types.Create a newConfigurableAffordanceby copying all attributes and replacing the name.ConfigurableAffordance.withOutput(Class<?> type) Registers the given type as the output model.ConfigurableAffordance.withOutput(ResolvableType type) Registers the givenResolvableTypeas the output model.ConfigurableAffordance.withOutput(AffordanceModel.PayloadMetadata metadata) Registers the givenAffordanceModel.PayloadMetadataas output model.ConfigurableAffordance.withParameters(List<QueryParameter> parameters) Replaces the currentQueryParameterlist with the given ones.ConfigurableAffordance.withParameters(QueryParameter... parameters) Replaces the currentQueryParameterlist with the given ones.ConfigurableAffordance.withTarget(Link target) Create a newConfigurableAffordanceby copying all attributes and replacing the target.