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 Classes Modifier and Type Class Description static class
HttpResponseTestCase.Builder
Builder used to create a HttpResponseTestCase.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpResponseTestCase.Builder
builder()
int
getCode()
HttpResponseTestCase.Builder
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.Node
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 Detail
-
getCode
public int getCode()
-
toNode
public Node toNode()
Description copied from interface:ToNode
Converts a value to aNode
.- Specified by:
toNode
in interfaceToNode
- Overrides:
toNode
in classHttpMessageTestCase
- Returns:
- Returns the creates Node.
-
toBuilder
public HttpResponseTestCase.Builder toBuilder()
Description copied from interface:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<HttpResponseTestCase>
- Returns:
- a builder for type T
-
builder
public static HttpResponseTestCase.Builder builder()
-
-