public final class HttpMalformedRequestDefinition extends java.lang.Object implements ToNode, ToSmithyBuilder<HttpMalformedRequestDefinition>
Modifier and Type | Class and Description |
---|---|
static class |
HttpMalformedRequestDefinition.Builder
Builder used to create a HttpRequestTestsTrait.
|
Modifier and Type | Method and Description |
---|---|
static HttpMalformedRequestDefinition.Builder |
builder() |
java.lang.String |
expectUri() |
static HttpMalformedRequestDefinition |
fromNode(Node node) |
java.util.Optional<java.lang.String> |
getBody() |
java.util.Map<java.lang.String,java.lang.String> |
getHeaders() |
java.util.Optional<java.lang.String> |
getHost() |
java.lang.String |
getMethod() |
java.util.List<java.lang.String> |
getQueryParams() |
java.util.Optional<java.lang.String> |
getUri() |
HttpMalformedRequestDefinition.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 a
Node . |
public java.util.Optional<java.lang.String> getBody()
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
public java.util.Optional<java.lang.String> getHost()
public java.lang.String getMethod()
public java.util.List<java.lang.String> getQueryParams()
public java.util.Optional<java.lang.String> getUri()
public java.lang.String expectUri()
public static HttpMalformedRequestDefinition fromNode(Node node)
public HttpMalformedRequestDefinition.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<HttpMalformedRequestDefinition>
public static HttpMalformedRequestDefinition.Builder builder()