Package com.oracle.bmc
Class ClientRuntime
- java.lang.Object
-
- com.oracle.bmc.ClientRuntime
-
public class ClientRuntime extends Object
This class provides client info that will be sent to the servers as part of each request.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SDK_VERSION_PROPERTY_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
extractSdkVersionFromProperties(Properties sdkProperties)
ClientCompatibilityChecker
getClientCompatibilityChecker()
String
getClientInfo()
static ClientRuntime
getRuntime()
Get the ClientRuntime instance.String
getSdkVersion()
String
getUserAgent()
static void
setClientUserAgent(String clientUserAgent)
-
-
-
Field Detail
-
SDK_VERSION_PROPERTY_NAME
public static final String SDK_VERSION_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
setClientUserAgent
public static void setClientUserAgent(String clientUserAgent)
-
extractSdkVersionFromProperties
public static String extractSdkVersionFromProperties(Properties sdkProperties)
-
getRuntime
public static ClientRuntime getRuntime()
Get the ClientRuntime instance.- Returns:
- The ClientRuntime instance.
-
getUserAgent
public String getUserAgent()
-
getClientInfo
public String getClientInfo()
-
getSdkVersion
public String getSdkVersion()
-
getClientCompatibilityChecker
public ClientCompatibilityChecker getClientCompatibilityChecker()
-
-