Class HttpRequestTestsTrait

  • All Implemented Interfaces:
    software.amazon.smithy.model.FromSourceLocation, software.amazon.smithy.model.node.ToNode, software.amazon.smithy.model.shapes.ToShapeId, software.amazon.smithy.model.traits.Trait

    public final class HttpRequestTestsTrait
    extends software.amazon.smithy.model.traits.AbstractTrait
    Defines HTTP request protocol tests.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static software.amazon.smithy.model.shapes.ShapeId ID  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected software.amazon.smithy.model.node.Node createNode()  
      java.util.List<HttpRequestTestCase> getTestCases()  
      • Methods inherited from class software.amazon.smithy.model.traits.AbstractTrait

        equals, getSourceLocation, hashCode, toNode, toShapeId, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • ID

        public static final software.amazon.smithy.model.shapes.ShapeId ID
    • Constructor Detail

      • HttpRequestTestsTrait

        public HttpRequestTestsTrait​(java.util.List<HttpRequestTestCase> testCases)
      • HttpRequestTestsTrait

        public HttpRequestTestsTrait​(software.amazon.smithy.model.SourceLocation sourceLocation,
                                     java.util.List<HttpRequestTestCase> testCases)
    • Method Detail

      • createNode

        protected software.amazon.smithy.model.node.Node createNode()
        Specified by:
        createNode in class software.amazon.smithy.model.traits.AbstractTrait