Class ProtocolUtils
- java.lang.Object
-
- software.amazon.awssdk.codegen.utils.ProtocolUtils
-
public final class ProtocolUtils extends Object
Resolves the protocol from the service modelprotocolandprotocolsfields.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringresolveProtocol(ServiceMetadata serviceMetadata)protocolssupersedesprotocol.
-
-
-
Method Detail
-
resolveProtocol
public static String resolveProtocol(ServiceMetadata serviceMetadata)
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.
-
-