Class ProtocolUtils
java.lang.Object
software.amazon.awssdk.codegen.utils.ProtocolUtils
Resolves the protocol from the service model
protocol
and protocols
fields.-
Method Summary
Modifier and TypeMethodDescriptionstatic String
resolveProtocol
(ServiceMetadata serviceMetadata) protocols
supersedesprotocol
.
-
Method Details
-
resolveProtocol
protocols
supersedesprotocol
. The highest priority protocol supported by the SDK that is present in the service modelprotocols
list will be selected. If none of the values inprotocols
is supported by the SDK, an error will be thrown. Ifprotocols
is empty or null, the value fromprotocol
will be returned.
-