Class HttpMalformedResponseDefinition
java.lang.Object
software.amazon.smithy.protocoltests.traits.HttpMalformedResponseDefinition
- All Implemented Interfaces:
- ToNode,- ToSmithyBuilder<HttpMalformedResponseDefinition>
public final class HttpMalformedResponseDefinition
extends Object
implements ToNode, ToSmithyBuilder<HttpMalformedResponseDefinition>
Defines the response expected by an HttpMalformedRequest test case.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classBuilder used to create a HttpMalformedResponseDefinition.
- 
Method Summary
- 
Method Details- 
getBody
- 
getCodepublic int getCode()
- 
getHeaders
- 
fromNode
- 
toNodeDescription copied from interface:ToNodeConverts a value to aNode.
- 
toBuilderDescription copied from interface:ToSmithyBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToSmithyBuilder<HttpMalformedResponseDefinition>
- Returns:
- a builder for type T
 
- 
builder
 
-