Class HttpMessageTestCase

java.lang.Object
software.amazon.smithy.protocoltests.traits.HttpMessageTestCase
All Implemented Interfaces:
software.amazon.smithy.model.node.ToNode, software.amazon.smithy.utils.Tagged
Direct Known Subclasses:
HttpRequestTestCase, HttpResponseTestCase

public abstract class HttpMessageTestCase extends Object implements software.amazon.smithy.model.node.ToNode, software.amazon.smithy.utils.Tagged
  • Method Details

    • getId

      public String getId()
    • getDocumentation

      public Optional<String> getDocumentation()
    • getProtocol

      public software.amazon.smithy.model.shapes.ShapeId getProtocol()
    • getAuthScheme

      public Optional<software.amazon.smithy.model.shapes.ShapeId> getAuthScheme()
    • getBody

      public Optional<String> getBody()
    • getBodyMediaType

      public Optional<String> getBodyMediaType()
    • getParams

      public software.amazon.smithy.model.node.ObjectNode getParams()
    • getVendorParamsShape

      public Optional<software.amazon.smithy.model.shapes.ShapeId> getVendorParamsShape()
    • getVendorParams

      public software.amazon.smithy.model.node.ObjectNode getVendorParams()
    • getHeaders

      public Map<String,String> getHeaders()
    • getForbidHeaders

      public List<String> getForbidHeaders()
    • getRequireHeaders

      public List<String> getRequireHeaders()
    • getTags

      public List<String> getTags()
      Specified by:
      getTags in interface software.amazon.smithy.utils.Tagged
    • getAppliesTo

      public Optional<AppliesTo> getAppliesTo()
    • toNode

      public software.amazon.smithy.model.node.Node toNode()
      Specified by:
      toNode in interface software.amazon.smithy.model.node.ToNode
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object