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 booleanIS_OS_LINUXstatic booleanIS_OS_MACstatic booleanIS_OS_WINDOWS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientInfo()static ClientRuntimegetRuntime()Get the ClientRuntime instance.StringgetUserAgent()static voidsetClientUserAgent(String clientUserAgent)
-
-
-
Method Detail
-
getRuntime
public static ClientRuntime getRuntime()
Get the ClientRuntime instance.- Returns:
- The ClientRuntime instance.
-
getUserAgent
public String getUserAgent()
-
getClientInfo
public String getClientInfo()
-
setClientUserAgent
public static void setClientUserAgent(String clientUserAgent)
-
-