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
Nested Classes Modifier and Type Class Description static classHttpRequestTestCase.BuilderBuilder used to create a HttpRequestTestsTrait. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpRequestTestCase.Builderbuilder()static HttpRequestTestCasefromNode(Node node)java.util.List<java.lang.String>getForbidQueryParams()java.util.Optional<java.lang.String>getHost()java.lang.StringgetMethod()java.util.List<java.lang.String>getQueryParams()java.util.List<java.lang.String>getRequireQueryParams()java.util.Optional<java.lang.String>getResolvedHost()java.lang.StringgetUri()HttpRequestTestCase.BuildertoBuilder()Take this object and create a builder that contains all of the current property values of this object.NodetoNode()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
- 
getMethod
public java.lang.String getMethod()
 
- 
getUri
public java.lang.String getUri()
 
- 
getHost
public java.util.Optional<java.lang.String> getHost()
 
- 
getResolvedHost
public java.util.Optional<java.lang.String> getResolvedHost()
 
- 
getQueryParams
public java.util.List<java.lang.String> getQueryParams()
 
- 
getForbidQueryParams
public java.util.List<java.lang.String> getForbidQueryParams()
 
- 
getRequireQueryParams
public java.util.List<java.lang.String> getRequireQueryParams()
 
- 
fromNode
public static HttpRequestTestCase fromNode(Node node)
 
- 
toNode
public Node toNode()
Description copied from interface:ToNodeConverts a value to aNode.- Specified by:
 toNodein interfaceToNode- Overrides:
 toNodein classHttpMessageTestCase- Returns:
 - Returns the creates Node.
 
 
- 
toBuilder
public HttpRequestTestCase.Builder 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<HttpRequestTestCase>- Returns:
 - a builder for type T
 
 
- 
builder
public static HttpRequestTestCase.Builder builder()
 
 - 
 
 -