Class HttpMessageTestCase
- java.lang.Object
-
- software.amazon.smithy.protocoltests.traits.HttpMessageTestCase
-
- Direct Known Subclasses:
HttpRequestTestCase
,HttpResponseTestCase
public abstract class HttpMessageTestCase extends java.lang.Object implements ToNode, Tagged
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.Optional<AppliesTo>
getAppliesTo()
java.util.Optional<ShapeId>
getAuthScheme()
java.util.Optional<java.lang.String>
getBody()
java.util.Optional<java.lang.String>
getBodyMediaType()
java.util.Optional<java.lang.String>
getDocumentation()
java.util.List<java.lang.String>
getForbidHeaders()
java.util.Map<java.lang.String,java.lang.String>
getHeaders()
java.lang.String
getId()
ObjectNode
getParams()
ShapeId
getProtocol()
java.util.List<java.lang.String>
getRequireHeaders()
java.util.List<java.lang.String>
getTags()
Gets the tags applied to an object.ObjectNode
getVendorParams()
java.util.Optional<ShapeId>
getVendorParamsShape()
int
hashCode()
Node
toNode()
Converts a value to aNode
.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
-
getDocumentation
public java.util.Optional<java.lang.String> getDocumentation()
-
getProtocol
public ShapeId getProtocol()
-
getAuthScheme
public java.util.Optional<ShapeId> getAuthScheme()
-
getBody
public java.util.Optional<java.lang.String> getBody()
-
getBodyMediaType
public java.util.Optional<java.lang.String> getBodyMediaType()
-
getParams
public ObjectNode getParams()
-
getVendorParamsShape
public java.util.Optional<ShapeId> getVendorParamsShape()
-
getVendorParams
public ObjectNode getVendorParams()
-
getHeaders
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
-
getForbidHeaders
public java.util.List<java.lang.String> getForbidHeaders()
-
getRequireHeaders
public java.util.List<java.lang.String> getRequireHeaders()
-
getTags
public java.util.List<java.lang.String> getTags()
Description copied from interface:Tagged
Gets the tags applied to an object.
-
getAppliesTo
public java.util.Optional<AppliesTo> getAppliesTo()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-