A B C D E F G H I K L M O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ActionConstants - Enum in com.deviceatlas.cloud.deviceidentification.client
- addEndPoint(List<EndPoint>, EndPoint) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Adds an endpoint to the list
- API_VERSION - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
-
API Version
- API_VERSION - Static variable in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.
- asBoolean() - Method in class com.deviceatlas.cloud.deviceidentification.client.Property
-
Get the value of the property as a boolean.
- asInteger() - Method in class com.deviceatlas.cloud.deviceidentification.client.Property
-
Get the value of the property as an int.
- asSet() - Method in class com.deviceatlas.cloud.deviceidentification.client.Property
-
Gets a set of possible values for this property.
- asString() - Method in class com.deviceatlas.cloud.deviceidentification.client.Property
-
Get the value of the property as a String.
- avg - Variable in class com.deviceatlas.cloud.deviceidentification.endpoint.EndPoint
-
end-point ranking test results - when the API checks the end-point the average of test request times will be put in this property
B
- BOOLEAN - Static variable in class com.deviceatlas.cloud.deviceidentification.client.DataType
-
Type boolean
- BYTE - Static variable in class com.deviceatlas.cloud.deviceidentification.client.DataType
-
Type byte
C
- CACHE_NAME - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
-
ehcache settings - cache key for cached device data
- CACHE_NAME - Static variable in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Deprecated.
- CACHE_NAME_SERVERS_AUTO - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
-
ehcache settings - cache key for cached endPoints ranked list
- CACHE_NAME_SERVERS_AUTO - Static variable in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Deprecated.
- CACHE_NAME_SERVERS_MANUAL - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
-
ehcache settings - cache key for cached endPoints manual fail-over list
- CACHE_NAME_SERVERS_MANUAL - Static variable in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Deprecated.
- CacheException - Exception in com.deviceatlas.cloud.deviceidentification.cacheprovider
-
DeviceAtlas Cache Exception class.
- CacheException(String) - Constructor for exception com.deviceatlas.cloud.deviceidentification.cacheprovider.CacheException
- CacheException(String, Throwable) - Constructor for exception com.deviceatlas.cloud.deviceidentification.cacheprovider.CacheException
- CacheProvider - Interface in com.deviceatlas.cloud.deviceidentification.cacheprovider
-
Cache Provider interface.
- CacheService - Class in com.deviceatlas.cloud.deviceidentification.service
- CacheService(CacheProvider) - Constructor for class com.deviceatlas.cloud.deviceidentification.service.CacheService
- clear() - Method in interface com.deviceatlas.cloud.deviceidentification.cacheprovider.CacheProvider
-
Entirely clear the cache content
- clear() - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.FileCacheProvider
- clear() - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.SimpleCacheProvider
- clearCache() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Clear all cached data.
- clearCache() - Method in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Clear all cached data.
- Client - Class in com.deviceatlas.cloud.deviceidentification.client
-
DeviceAtlas Cloud API.
- CLIENT_COOKIE_HEADER - com.deviceatlas.cloud.deviceidentification.client.HeaderConstants
- CLIENT_COOKIE_HEADER - Static variable in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.
- CLIENT_COOKIE_NAME - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
-
Name of the cookie created by the DeviceAtlas client side component
- CLIENT_COOKIE_NAME - Static variable in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.
- ClientConstants - Enum in com.deviceatlas.cloud.deviceidentification.client
- ClientException - Exception in com.deviceatlas.cloud.deviceidentification.client
-
DeviceAtlas cloud client exception.
- ClientException(String) - Constructor for exception com.deviceatlas.cloud.deviceidentification.client.ClientException
- ClientException(String, Throwable) - Constructor for exception com.deviceatlas.cloud.deviceidentification.client.ClientException
- ClientHeader - Class in com.deviceatlas.cloud.deviceidentification.client
- ClientHeader(String, boolean) - Constructor for class com.deviceatlas.cloud.deviceidentification.client.ClientHeader
- clone() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
This throws an exception to prevent cloning this singleton.
- CLOUD_DA_HEADERS - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
- CLOUD_SERVICE_MESSAGE - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
- CLOUD_SERVICE_RESULT - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
- CLOUD_SERVICE_STATUS - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
-
fields for connection service return
- com.deviceatlas.cloud.deviceidentification.cacheprovider - package com.deviceatlas.cloud.deviceidentification.cacheprovider
- com.deviceatlas.cloud.deviceidentification.client - package com.deviceatlas.cloud.deviceidentification.client
- com.deviceatlas.cloud.deviceidentification.endpoint - package com.deviceatlas.cloud.deviceidentification.endpoint
- com.deviceatlas.cloud.deviceidentification.service - package com.deviceatlas.cloud.deviceidentification.service
- connectCloud(EndPoint, String, Map<String, String>, List<String>) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Get the properties from a cloud end point
- contains(String, T) - Method in class com.deviceatlas.cloud.deviceidentification.client.Properties
-
Check if a property has a specific value.
- convertServerMapListToServerList(List<Map>) - Method in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Convert a list of (server-data HashMaps) to an Array of EndPoint objects ehcache stores (server-data HashMaps)
- COOKIE_HEADER - com.deviceatlas.cloud.deviceidentification.client.HeaderConstants
D
- DA_HEADER_PREFIX - com.deviceatlas.cloud.deviceidentification.client.HeaderConstants
- DA_HEADER_PREFIX - Static variable in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.
- DataType - Class in com.deviceatlas.cloud.deviceidentification.client
-
The data types for various properties.
- definePaths() - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.FileCacheProvider
-
Define the root path
- DeviceIdentificatorService - Class in com.deviceatlas.cloud.deviceidentification.service
- DeviceIdentificatorService(EndPointService) - Constructor for class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
- DOUBLE - Static variable in class com.deviceatlas.cloud.deviceidentification.client.DataType
-
Type double
E
- EndPoint - Class in com.deviceatlas.cloud.deviceidentification.endpoint
-
Defines a cloud end-point (server).
- EndPoint() - Constructor for class com.deviceatlas.cloud.deviceidentification.endpoint.EndPoint
-
Creates DeviceAtlas EndPoint object
- EndPoint(String, String) - Constructor for class com.deviceatlas.cloud.deviceidentification.endpoint.EndPoint
-
Creates DeviceAtlas EndPoint object
- EndPoint(String, String, String) - Constructor for class com.deviceatlas.cloud.deviceidentification.endpoint.EndPoint
-
Creates DeviceAtlas EndPoint object
- EndPointService - Class in com.deviceatlas.cloud.deviceidentification.service
- EndPointService(CacheService) - Constructor for class com.deviceatlas.cloud.deviceidentification.service.EndPointService
- equals(Object) - Method in class com.deviceatlas.cloud.deviceidentification.client.Property
-
Check if another object is equal to this object.
- extractClientSideCookieValue(Map<String, String>) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Returns the DA cookie value from the headers list
F
- FAILOVER_CONTINUE - com.deviceatlas.cloud.deviceidentification.client.ActionConstants
-
Action to be taken after an end-point responds: If the error controller returns this the fail-over mechanism must try the next end-point
- FAILOVER_NOT_REQUIRED - com.deviceatlas.cloud.deviceidentification.client.ActionConstants
-
Action to be taken after an end-point responds: If an-endpoint response was fine
- FAILOVER_STOP - com.deviceatlas.cloud.deviceidentification.client.ActionConstants
-
Action to be taken after an end-point responds: If the error controller returns this the fail-over mechanism must stop trying the next end-point
- FileCacheProvider - Class in com.deviceatlas.cloud.deviceidentification.cacheprovider
-
File cache provider.
- FileCacheProvider() - Constructor for class com.deviceatlas.cloud.deviceidentification.cacheprovider.FileCacheProvider
- FLOAT - Static variable in class com.deviceatlas.cloud.deviceidentification.client.DataType
-
Type float
- fromMap(Map<String, Object>) - Method in class com.deviceatlas.cloud.deviceidentification.endpoint.EndPoint
-
Fill EndPoint object with data from HashMap
G
- get(String) - Method in interface com.deviceatlas.cloud.deviceidentification.cacheprovider.CacheProvider
-
Getting an entry on the cache
- get(String) - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.FileCacheProvider
- get(String) - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.SimpleCacheProvider
- getAction() - Method in enum com.deviceatlas.cloud.deviceidentification.client.ActionConstants
- getAutoServerRanking() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Getter for auto server ranking.
- getAutoServerRanking() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Checks if the server ranking is in auto mode
- getAutoServerRankingLifetime() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.As of release 1.5 getAutoServerRankingLifetime() and getAutoServerRankingLifetime() have been merged.
- getAutoServerRankingMaxFailures() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Getter for max server failures.
- getAutoServerRankingMaxFailures() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Returns the maximum amount of failures for server ranking's checks
- getAutoServerRankingNumRequests() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
When auto ranking end-points, this number of requests will be sent to each end-point and the mean time will be used for ranking the end-point.
- getAutoServerRankingNumRequests() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Returns the maximum number of requests
- getCachedServerList(String) - Method in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Get cached server list.
- getCachePath(String) - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.FileCacheProvider
-
Returns the path from the given key
- getCacheProvider() - Method in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Gets the cache Provider
- getCacheServersAutoRanking() - Method in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Returns the list of auto ranked servers
- getCacheServersManualRanking() - Method in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Returns the list of manual ranked servers
- getCacheService() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Returns the cache layer
- getCacheService() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Returns the underlying cache layer
- getCalledServers() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Returns the servers called
- getCause() - Method in exception com.deviceatlas.cloud.deviceidentification.client.IncorrectPropertyTypeException
- getCloudService(String, Map<String, String>) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Get device properties from DeviceAtlas cloud service
- getCloudServiceResponse(EndPoint[], String, Map<String, String>, List<String>) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Treats the endPoint response
- getCloudServiceTimeout() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Getter for cloud service timeout.
- getCloudServiceTimeout() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Returns the cloud service's timeout
- getCloudUrl() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Get the last DeviceAtlas cloud service end-point (server) URL called to get device properties
- getCloudUrl() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Gets the last endpoint url used when call the service
- getDaHeaderCache() - Method in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Get an list of the DeviceAtlas Response Headers
- getDataType() - Method in class com.deviceatlas.cloud.deviceidentification.client.Property
-
Get the data type name for values associated with this Property
- getDataTypeId() - Method in class com.deviceatlas.cloud.deviceidentification.client.Property
-
Get the data type ID for values associated with this Property
- getDeviceData(String) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.
- getDeviceData(String) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Deprecated.
- getDeviceData(Map<String, String>) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.
- getDeviceData(Map<String, String>) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Deprecated.
- getDeviceData(HttpServletRequest) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.
- getDeviceData(HttpServletRequest) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Deprecated.
- getDeviceDataByHeaders(Map<String, String>) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.
- getDeviceDataByHeaders(Map<String, String>) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Deprecated.
- getDeviceDataByUserAgent(String) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.
- getDeviceDataByUserAgent(String) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Deprecated.
- getDeviceIdentificatorService() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Returns the identificator layer
- getEndPoints() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Getter for cloud server list.
- getEndPoints() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Gets the list of ranking endpoints (manual or auto)
- getEndPointService() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Returns the endPoint layer
- getFailoverAction() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Gets the current action to take regarding the connection service
- getFatalErrors() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Returns the list of errors
- getFirstEndPoint() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Returns the fist endpoint
- getHeaders() - Method in class com.deviceatlas.cloud.deviceidentification.client.Result
-
Returns the list of used headers used against the cloud endpoints
- getHeaders() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
- getHeaders() - Method in class com.deviceatlas.cloud.deviceidentification.service.HeaderService
-
First attempts to get the headers from the cache.
- getHeadersUrl() - Method in class com.deviceatlas.cloud.deviceidentification.endpoint.EndPoint
-
Get server connectable URL for the headers path
- getInstance() - Static method in class com.deviceatlas.cloud.deviceidentification.client.Client
- getInstance(CacheProvider) - Static method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Get the instance for the Client
- getInstance(CacheService) - Static method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Get the instance for the Client
- getInternalFileCacheLifetime() - Method in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Returns the internal file cache lifetime
- getKeys() - Method in interface com.deviceatlas.cloud.deviceidentification.cacheprovider.CacheProvider
-
Returns all keys from a given cache
- getKeys() - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.FileCacheProvider
- getKeys() - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.SimpleCacheProvider
- getLicenceKey() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Getter for DeviceAtlas cloud licence key.
- getLicenceKey() - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Gets the licence key in the identificator's level
- getName() - Method in class com.deviceatlas.cloud.deviceidentification.client.ClientHeader
- getName(byte) - Static method in class com.deviceatlas.cloud.deviceidentification.client.DataType
-
Get the name of a given data type.
- getOriginalEndPoints() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Returns the original endpoints list
- getPhaseOutLifetime() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.As of release 1.5 getServerPhaseOutLifetime() and getAutoServerRankingLifetime() have been merged.
- getProperties() - Method in class com.deviceatlas.cloud.deviceidentification.client.Result
-
Returns the properties's list
- getRankingStatus() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
- getRankingStatus() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Returns the current ranking status
- getResult(String) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Get the cloud service data from the identificator layer
- getResult(String) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Get device data from DeviceAtlas Cloud service.
- getResult(Map<String, String>) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Get the cloud service data from the identificator layer
- getResult(Map<String, String>) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Get device data from DeviceAtlas Cloud service.
- getResult(HttpServletRequest) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Get the cloud service data from the identificator layer
- getResult(HttpServletRequest) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Get device data from DeviceAtlas Cloud service.
- getResultByHeaders(Map<String, String>) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Get the cloud service data from the identificator layer
- getResultByHeaders(Map<String, String>) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Get device data from DeviceAtlas Cloud service.
- getResultByUserAgent(String) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Get the cloud service data from the identificator layer
- getResultByUserAgent(String) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Get device data from DeviceAtlas Cloud service.
- getSendExtraHeaders() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Getter for the sendExtraHeaders setting.
- getSendExtraHeaders() - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Deprecated.
- getServerLatency(EndPoint, int) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Returns the latencies of endpoints
- getServerRankingLifetime() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Returns the server ranking cache lifetime
- getServersLatencies() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Get DeviceAtlas cloud end-point list.
- getServersLatencies() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Get endPoints and their service latencies.
- getServersLatencies(int) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Get endPoints and their service latencies.
- getServersLatencies(int) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Get endPoints and their service latencies.
- getSource() - Method in class com.deviceatlas.cloud.deviceidentification.client.Result
-
Returns the source of the properties either cloud or cache
- getUrl() - Method in class com.deviceatlas.cloud.deviceidentification.endpoint.EndPoint
-
Get server connectable URL
- getUseCache() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Is device data being cached by the API or not.
- getUseCache() - Method in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Is device data being cached by the API or not.
- getUseClientCookie() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Getter for the useClientCookie setting.
- getUseClientCookie() - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Getter for the useClientCookie setting.
- getVersion() - Static method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Get the API version
H
- hashCode() - Method in class com.deviceatlas.cloud.deviceidentification.client.Property
- HeaderConstants - Enum in com.deviceatlas.cloud.deviceidentification.client
- HeaderService - Class in com.deviceatlas.cloud.deviceidentification.service
-
Obtains the header set from the Cloud Service (/v1/detect/headers) and caches them.
- HeaderService(EndPointService) - Constructor for class com.deviceatlas.cloud.deviceidentification.service.HeaderService
- headersPath - Variable in class com.deviceatlas.cloud.deviceidentification.endpoint.EndPoint
- host - Variable in class com.deviceatlas.cloud.deviceidentification.endpoint.EndPoint
-
end-point host base URL
I
- IncorrectPropertyTypeException - Exception in com.deviceatlas.cloud.deviceidentification.client
-
The InvalidPropertyException is thrown by the Api class when there is an attemp to fetch a property by type and the property is stored under a different type in the tree.
- IncorrectPropertyTypeException(String) - Constructor for exception com.deviceatlas.cloud.deviceidentification.client.IncorrectPropertyTypeException
- IncorrectPropertyTypeException(Throwable) - Constructor for exception com.deviceatlas.cloud.deviceidentification.client.IncorrectPropertyTypeException
- INTEGER - Static variable in class com.deviceatlas.cloud.deviceidentification.client.DataType
-
Type int
- isRequired() - Method in class com.deviceatlas.cloud.deviceidentification.client.ClientHeader
- isServerListManual() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
true if the server list is the manual type
K
- KEY_PROPERTIES - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
-
The name of the key used to lookup the device properties in the results object
- KEY_PROPERTIES - Static variable in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.
- KEY_SOURCE - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
-
The name of the key used to lookup the source of data (none, cache or cloud) in the results object
- KEY_SOURCE - Static variable in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.
- KEY_USERAGENT - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
-
The name of the key used to lookup the User-Agent in the results object
- KEY_USERAGENT - Static variable in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.
L
- latencies - Variable in class com.deviceatlas.cloud.deviceidentification.endpoint.EndPoint
-
end-point ranking test results - when the API checks the end-point test request times will be put in this list
- lockAndSet(String, T) - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.FileCacheProvider
-
Applies a lock to a cache's file
- LONG - Static variable in class com.deviceatlas.cloud.deviceidentification.client.DataType
-
Type long int
M
- moveEndPointOrder(EndPoint[], int) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
if top endPoints failed, move them to the bottom and re-cache the list
O
- OPERA_HEADER_IDENTIFIER - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
P
- parseConfig(BufferedReader) - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.FileCacheProvider
-
Parses the config file
- path - Variable in class com.deviceatlas.cloud.deviceidentification.endpoint.EndPoint
-
end-point host URL path
- port - Variable in class com.deviceatlas.cloud.deviceidentification.endpoint.EndPoint
-
end-point host port
- prepareDataHeaders(Map<String, String>) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Treats the various headers, creates the user agent and cookie
- prepareHeaders(Map<String, String>, String) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Extract headers to be send to the cloud service from a header Map object.
- prepareHeadersForServletRequest(HttpServletRequest) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Treats the headers from a servlet request
- Properties - Class in com.deviceatlas.cloud.deviceidentification.client
-
Map String property names to Property objects.
- Properties() - Constructor for class com.deviceatlas.cloud.deviceidentification.client.Properties
- Properties(int, float) - Constructor for class com.deviceatlas.cloud.deviceidentification.client.Properties
- Property - Class in com.deviceatlas.cloud.deviceidentification.client
-
Contains a property value.
- Property(Object, byte) - Constructor for class com.deviceatlas.cloud.deviceidentification.client.Property
-
Create a new Property with a value and data type.
- Property(Object, byte, boolean) - Constructor for class com.deviceatlas.cloud.deviceidentification.client.Property
-
Create a new Property with a value and data type.
- putMap(Map<String, Object>) - Method in class com.deviceatlas.cloud.deviceidentification.client.Properties
R
- rankServers() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
If auto-ranking is on then rank the DeviceAtlas cloud end-points and put in cache.
- rankServers() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
If auto-ranking is on then rank the DeviceAtlas cloud end-points and put in cache.
- REMOTE_ADDR - com.deviceatlas.cloud.deviceidentification.client.HeaderConstants
- remove(String) - Method in interface com.deviceatlas.cloud.deviceidentification.cacheprovider.CacheProvider
-
Removes an entry in the cache
- remove(String) - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.FileCacheProvider
- remove(String) - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.SimpleCacheProvider
- Result - Class in com.deviceatlas.cloud.deviceidentification.client
- Result() - Constructor for class com.deviceatlas.cloud.deviceidentification.client.Result
S
- set(String, T) - Method in interface com.deviceatlas.cloud.deviceidentification.cacheprovider.CacheProvider
-
Adding an entry to the cache
- set(String, T) - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.FileCacheProvider
- set(String, T) - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.SimpleCacheProvider
- setAutoServerRanking(boolean) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Setter for auto server ranking.
- setAutoServerRanking(boolean) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Set the server ranking in auto mode
- setAutoServerRankingLifetime(int) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.As of release 1.5 setAutoServerRankingLifeTime() and setAutoServerRankingLifetime() have been merged.
- setAutoServerRankingMaxFailures(int) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Setter for max server failures.
- setAutoServerRankingMaxFailures(int) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Sets the maximum amount of failures for server ranking's checks
- setAutoServerRankingNumRequests(int) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
When auto ranking end-points, this number of requests will be sent to each end-point and the mean time will be used for ranking the end-point.
- setAutoServerRankingNumRequests(int) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Sets the maximum number of requests
- setCacheData(Object, String, String, Map<String, String>) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Sets the cloud service data to the cache's layer
- setCacheFileEntry(File, Path) - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.FileCacheProvider
-
Sets a file cache entry
- setCalledServers(List<String>) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Sets the servers called
- setCloudServiceTimeout(int) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Setter for cloud service timeout.
- setCloudServiceTimeout(int) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Sets the cloud service's timeout
- setCloudUrl(String) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Sets the last endpoint url used when call the service
- setCloudUrl(String) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Sets the last endpoint url used when call the service
- setDaHeaderCache(String) - Method in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Set the DeviceAtlas Response Headers
- setEndPoints(EndPoint[]) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Setter for cloud server list.
- setEndPoints(EndPoint[]) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Sets the original list of endpoints
- setEndPointsIfNotRanked() - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Sets the end point
- setExpiry(int) - Method in interface com.deviceatlas.cloud.deviceidentification.cacheprovider.CacheProvider
-
Reconfigure the expiry after
- setExpiry(int) - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.FileCacheProvider
- setExpiry(int) - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.SimpleCacheProvider
- setFailoverAction(byte) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Sets the action level
- setFirstEndPoint(EndPoint) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Sets the first endpoint
- setHeaders(Map<String, String>) - Method in class com.deviceatlas.cloud.deviceidentification.client.Result
-
Set the list of headers from the cloud endpoints request
- setInternalFileCacheLifetime(int) - Method in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Sets the internal file cache lifetime
- setLicenceKey(String) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Setter for DeviceAtlas cloud licence key.
- setLicenceKey(String) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Sets the licence key in the identificator's level
- setLicenceKey(String) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Sets the licence key
- setPhaseOutLifetime(int) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.As of release 1.5 setPhaseOutLifetime() and setPhaseOutLifetime() have been merged.
- setProperties(Properties) - Method in class com.deviceatlas.cloud.deviceidentification.client.Result
-
Set the properties's list from the cloud endpoint's response
- setProxy(Proxy) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Sets the optional proxy for reaching cloud's service
- setProxy(Proxy) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Sets HTTP proxy settings for the remote requests
- setRankingStatus(String) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Sets the current ranking status
- setSendExtraHeaders(boolean) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Setter for the sendExtraHeaders setting.
- setSendExtraHeaders(boolean) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Deprecated.
- setServerCache(EndPoint[], boolean) - Method in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Write server list to cache.
- setServerListIsManual(boolean) - Method in class com.deviceatlas.cloud.deviceidentification.service.EndPointService
-
Sets the type of server list (manual or not)
- setServerRankingLifetime(int) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Sets the server ranking cache lifetime
- setSource(String) - Method in class com.deviceatlas.cloud.deviceidentification.client.Result
-
Sets the source of the properties
- setUseCache(boolean) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Setter to cache or not to cache device data.
- setUseCache(boolean) - Method in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
Setter to cache or not to cache device data.
- setUseClientCookie(boolean) - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Setter for the useClientCookie setting.
- setUseClientCookie(boolean) - Method in class com.deviceatlas.cloud.deviceidentification.service.DeviceIdentificatorService
-
Setter for the useClientCookie setting.
- SHORT - Static variable in class com.deviceatlas.cloud.deviceidentification.client.DataType
-
Type short int
- shutdown() - Method in interface com.deviceatlas.cloud.deviceidentification.cacheprovider.CacheProvider
-
Shutdown the general cache framework
- shutdown() - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.FileCacheProvider
-
No shutdown operation for this class
- shutdown() - Method in class com.deviceatlas.cloud.deviceidentification.cacheprovider.SimpleCacheProvider
- shutdown() - Method in class com.deviceatlas.cloud.deviceidentification.client.Client
-
This should be called when shutting down your application.
- shutdown() - Method in class com.deviceatlas.cloud.deviceidentification.service.CacheService
-
This should be called when shutting down your application.
- SimpleCacheProvider - Class in com.deviceatlas.cloud.deviceidentification.cacheprovider
-
Map cache provider.
- SimpleCacheProvider() - Constructor for class com.deviceatlas.cloud.deviceidentification.cacheprovider.SimpleCacheProvider
- SOURCE_CACHE - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
-
In the result Map, KEY_SOURCE may be set to this.
- SOURCE_CACHE - Static variable in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.
- SOURCE_CLOUD - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
-
In the result Map, KEY_SOURCE may be set to this.
- SOURCE_CLOUD - Static variable in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.
- SOURCE_NONE - com.deviceatlas.cloud.deviceidentification.client.ClientConstants
-
In the result Map, KEY_SOURCE may be set to this.
- SOURCE_NONE - Static variable in class com.deviceatlas.cloud.deviceidentification.client.Client
-
Deprecated.
- STRING - Static variable in class com.deviceatlas.cloud.deviceidentification.client.DataType
-
Type string
T
- toMap() - Method in class com.deviceatlas.cloud.deviceidentification.endpoint.EndPoint
-
Return a HashMap of EndPoint object data
- toString() - Method in enum com.deviceatlas.cloud.deviceidentification.client.ClientConstants
- toString() - Method in enum com.deviceatlas.cloud.deviceidentification.client.HeaderConstants
- toString() - Method in class com.deviceatlas.cloud.deviceidentification.client.Property
-
Get the value of the property as a String.
U
- UA_HEADER - com.deviceatlas.cloud.deviceidentification.client.HeaderConstants
- UNKNOWN - Static variable in class com.deviceatlas.cloud.deviceidentification.client.DataType
-
Unknown type
V
- value() - Method in class com.deviceatlas.cloud.deviceidentification.client.Property
-
Get the value Object.
- valueOf(String) - Static method in enum com.deviceatlas.cloud.deviceidentification.client.ActionConstants
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deviceatlas.cloud.deviceidentification.client.ClientConstants
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.deviceatlas.cloud.deviceidentification.client.HeaderConstants
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.deviceatlas.cloud.deviceidentification.client.ActionConstants
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deviceatlas.cloud.deviceidentification.client.ClientConstants
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.deviceatlas.cloud.deviceidentification.client.HeaderConstants
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages