Class HttpMalformedRequestTestsTrait
java.lang.Object
software.amazon.smithy.model.traits.AbstractTrait
software.amazon.smithy.protocoltests.traits.HttpMalformedRequestTestsTrait
- 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 HttpMalformedRequestTestsTrait
extends software.amazon.smithy.model.traits.AbstractTrait
Defines protocol tests for malformed HTTP request handling.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionHttpMalformedRequestTestsTrait(List<software.amazon.smithy.protocoltests.traits.ParameterizedHttpMalformedRequestTestCase> testCases) HttpMalformedRequestTestsTrait(software.amazon.smithy.model.SourceLocation sourceLocation, List<software.amazon.smithy.protocoltests.traits.ParameterizedHttpMalformedRequestTestCase> testCases) -
Method Summary
Modifier and TypeMethodDescriptionprotected software.amazon.smithy.model.node.NodeMethods inherited from class software.amazon.smithy.model.traits.AbstractTrait
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.smithy.model.traits.Trait
isSynthetic
-
Field Details
-
ID
public static final software.amazon.smithy.model.shapes.ShapeId ID
-
-
Constructor Details
-
HttpMalformedRequestTestsTrait
public HttpMalformedRequestTestsTrait(List<software.amazon.smithy.protocoltests.traits.ParameterizedHttpMalformedRequestTestCase> testCases) -
HttpMalformedRequestTestsTrait
public HttpMalformedRequestTestsTrait(software.amazon.smithy.model.SourceLocation sourceLocation, List<software.amazon.smithy.protocoltests.traits.ParameterizedHttpMalformedRequestTestCase> testCases)
-
-
Method Details
-
getTestCases
-
createNode
protected software.amazon.smithy.model.node.Node createNode()- Specified by:
createNodein classsoftware.amazon.smithy.model.traits.AbstractTrait
-