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