Interface ConfiguredAffordance


public interface ConfiguredAffordance
A configure affordance for inspection by media type implementations to create AffordanceModel instances.
Since:
1.3
Author:
Oliver Drotbohm
See Also:
  • Method Details

    • getNameOrDefault

      String getNameOrDefault()
      Returns the explicitly configured name of the Affordance or calculates a default based on the HttpMethod and type backing it.
      Returns:
      will never be null.
    • getTarget

      Link getTarget()
      Returns the affordance's target.
      Returns:
      will never be null.
    • getMethod

      HttpMethod getMethod()
      The HttpMethod of the affordance.
      Returns:
      will never be null.
    • getInputMetadata

      Metadata about the input payload.
      Returns:
      will never be null.
    • getQueryParameters

      List<QueryParameter> getQueryParameters()
      The parameters of the affordance.
      Returns:
      will never be null.
    • getOutputMetadata

      AffordanceModel.PayloadMetadata getOutputMetadata()
      Metadata about the output payload.
      Returns:
      will never be null.