public enum ClientConstants extends java.lang.Enum<ClientConstants>
Enum Constant and Description |
---|
API_VERSION
API Version
|
CACHE_NAME
ehcache settings - cache key for cached device data
|
CACHE_NAME_SERVERS_AUTO
ehcache settings - cache key for cached endPoints ranked list
|
CACHE_NAME_SERVERS_MANUAL
ehcache settings - cache key for cached endPoints manual fail-over list
|
CLIENT_COOKIE_NAME
Name of the cookie created by the DeviceAtlas client side component
|
CLOUD_SERVICE_MESSAGE |
CLOUD_SERVICE_RESULT |
CLOUD_SERVICE_STATUS
fields for connection service return
|
KEY_PROPERTIES
The name of the key used to lookup the device properties in the results object
|
KEY_SOURCE
The name of the key used to lookup the source of data (none, cache or cloud) in the results object
|
KEY_USERAGENT
The name of the key used to lookup the User-Agent in the results object
|
OPERA_HEADER_IDENTIFIER |
SOURCE_CACHE
In the result Map, KEY_SOURCE may be set to this.
|
SOURCE_CLOUD
In the result Map, KEY_SOURCE may be set to this.
|
SOURCE_NONE
In the result Map, KEY_SOURCE may be set to this.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static ClientConstants |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientConstants[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientConstants API_VERSION
public static final ClientConstants CLIENT_COOKIE_NAME
public static final ClientConstants KEY_USERAGENT
public static final ClientConstants KEY_SOURCE
public static final ClientConstants KEY_PROPERTIES
public static final ClientConstants SOURCE_CACHE
public static final ClientConstants SOURCE_CLOUD
public static final ClientConstants SOURCE_NONE
public static final ClientConstants CACHE_NAME
public static final ClientConstants CACHE_NAME_SERVERS_AUTO
public static final ClientConstants CACHE_NAME_SERVERS_MANUAL
public static final ClientConstants OPERA_HEADER_IDENTIFIER
public static final ClientConstants CLOUD_SERVICE_STATUS
public static final ClientConstants CLOUD_SERVICE_MESSAGE
public static final ClientConstants CLOUD_SERVICE_RESULT
public static ClientConstants[] values()
for (ClientConstants c : ClientConstants.values()) System.out.println(c);
public static ClientConstants valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ClientConstants>