Class HttpRequestTestCase
java.lang.Object
software.amazon.smithy.protocoltests.traits.HttpMessageTestCase
software.amazon.smithy.protocoltests.traits.HttpRequestTestCase
- All Implemented Interfaces:
ToNode
,Tagged
,ToSmithyBuilder<HttpRequestTestCase>
public final class HttpRequestTestCase
extends HttpMessageTestCase
implements ToSmithyBuilder<HttpRequestTestCase>
Defines a test case for an HTTP request.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder used to create a HttpRequestTestsTrait. -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpRequestTestCase.Builder
builder()
static HttpRequestTestCase
getHost()
getUri()
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
-
getMethod
-
getUri
-
getHost
-
getResolvedHost
-
getQueryParams
-
getForbidQueryParams
-
getRequireQueryParams
-
fromNode
-
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
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<HttpRequestTestCase>
- Returns:
- a builder for type T
-
builder
-