Class HttpResponseTestCase
java.lang.Object
software.amazon.smithy.protocoltests.traits.HttpMessageTestCase
software.amazon.smithy.protocoltests.traits.HttpResponseTestCase
- All Implemented Interfaces:
ToNode,Tagged,ToSmithyBuilder<HttpResponseTestCase>
public final class HttpResponseTestCase
extends HttpMessageTestCase
implements ToSmithyBuilder<HttpResponseTestCase>
Defines a test case for an HTTP response.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder used to create a HttpResponseTestCase. -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpResponseTestCase.Builderbuilder()intgetCode()Take this object and create a builder that contains all of the current property values of this object.toNode()Converts a value to aNode.Methods inherited from class software.amazon.smithy.protocoltests.traits.HttpMessageTestCase
equals, getAppliesTo, getAuthScheme, getBody, getBodyMediaType, getDocumentation, getForbidHeaders, getHeaders, getId, getParams, getProtocol, getRequireHeaders, getTags, getVendorParams, getVendorParamsShape, hashCode
-
Method Details
-
getCode
public int getCode() -
toNode
Description copied from interface:ToNodeConverts a value to aNode.- Specified by:
toNodein interfaceToNode- Overrides:
toNodein classHttpMessageTestCase- Returns:
- Returns the creates Node.
-
toBuilder
Description copied from interface:ToSmithyBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToSmithyBuilder<HttpResponseTestCase>- Returns:
- a builder for type T
-
builder
-