| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ClientCompatibilityChecker | |
| private final String | clientInfo
The SDK client info to send. |
| private static String | clientUserAgent
Sets an extra piece of information into the user-agent header passed to the server. |
| private static final String | |
| private static final Logger | |
| public static final String | |
| private final String | |
| private final String | userAgent
The user agent to send. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public ClientCompatibilityChecker | |
| public String | |
| public static ClientRuntime | |
| pack-priv static Properties | |
| public String | |
| public String | |
| public static void |
| clientCompatibilityChecker | back to summary |
|---|---|
| private final ClientCompatibilityChecker clientCompatibilityChecker | |
| clientInfo | back to summary |
|---|---|
| private final String clientInfo The SDK client info to send. | |
| clientUserAgent | back to summary |
|---|---|
| private static String clientUserAgent Sets an extra piece of information into the user-agent header passed to the server. The format is (by convention) "Application/Version", ex "MyApp/1.3.5". Note, this must be called BEFORE any service calls are ever made, and once set, cannot be changed after a call has been made. | |
| ENV_VAR_USER_AGENT | back to summary |
|---|---|
| private static final String ENV_VAR_USER_AGENT | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| SDK_VERSION_PROPERTY_NAME | back to summary |
|---|---|
| public static final String SDK_VERSION_PROPERTY_NAME | |
| sdkVersion | back to summary |
|---|---|
| private final String sdkVersion | |
| userAgent | back to summary |
|---|---|
| private final String userAgent The user agent to send. The agent will include runtime information, ex: | |
| ClientRuntime | back to summary |
|---|---|
| pack-priv ClientRuntime() | |
| extractSdkVersionFromProperties | back to summary |
|---|---|
| public static String extractSdkVersionFromProperties(Properties sdkProperties) | |
| getClientCompatibilityChecker | back to summary |
|---|---|
| public ClientCompatibilityChecker getClientCompatibilityChecker() | |
| getClientInfo | back to summary |
|---|---|
| public String getClientInfo() | |
| getRuntime | back to summary |
|---|---|
| public static ClientRuntime getRuntime() Get the ClientRuntime instance.
| |
| getSdkProperties | back to summary |
|---|---|
| pack-priv static Properties getSdkProperties() | |
| getSdkVersion | back to summary |
|---|---|
| public String getSdkVersion() | |
| getUserAgent | back to summary |
|---|---|
| public String getUserAgent() | |
| setClientUserAgent | back to summary |
|---|---|
| public static void setClientUserAgent(String clientUserAgent) | |
| Modifier and Type | Field and Description |
|---|---|
| private static final ClientRuntime |
| Access | Constructor and Description |
|---|---|
| private |
| INSTANCE | back to summary |
|---|---|
| private static final ClientRuntime INSTANCE | |
| RuntimeInstance | back to summary |
|---|---|
| private RuntimeInstance() | |