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 StringresolveProtocol(ServiceMetadata serviceMetadata) protocolssupersedesprotocol.
-
Method Details
-
resolveProtocol
protocolssupersedesprotocol. The highest priority protocol supported by the SDK that is present in the service modelprotocolslist will be selected. If none of the values inprotocolsis supported by the SDK, an error will be thrown. Ifprotocolsis empty or null, the value fromprotocolwill be returned.
-