Interface ProtocolFact
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ProtocolFactOverrides for AWS JSON.static final ProtocolFactDefaults used by all protocols that do not have overrides.static final ProtocolFactOverrides for Smithy RPCv2. -
Method Summary
Modifier and TypeMethodDescriptionReturns a configured set of headers to be added to each request of the protocol.static ProtocolFactfrom(AwsJsonProtocol protocol) Returns the object representing a collection of facts for each protocol.default booleangeneratesBody(OperationInfo info) Returns true if the operation generates a body, false otherwise.
-
Field Details
-
DEFAULT
Defaults used by all protocols that do not have overrides. -
AWS_JSON
Overrides for AWS JSON. -
SMITHY_RPC_V2_CBOR
Overrides for Smithy RPCv2.
-
-
Method Details
-
generatesBody
Returns true if the operation generates a body, false otherwise. By default, this depends on whether the operation input has members bound to the payload. -
extraHeaders
-
from
Returns the object representing a collection of facts for each protocol.
-