Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

a1(Context, String) - Method in class com.worklight.common.security.AppAuthenticityToken
 
AccessToken - Class in com.worklight.wlclient.auth
This class stores access-token data.
AccessToken(JSONObject) - Constructor for class com.worklight.wlclient.auth.AccessToken
 
ACTION_ID - Static variable in class com.worklight.wlclient.api.WLConstants
 
addAuthorizationHeader(Request, String) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
addDeviceEventListener(WLAnalytics.DeviceEvent) - Static method in class com.worklight.common.WLAnalytics
Enable analytics to capture the specified DeviceEvent
addGlobalHeader(String, String) - Method in class com.worklight.wlclient.api.WLClient
You use this method to add a global header, which is sent on each request.
addGlobalHeader(String, String) - Method in class com.worklight.wlclient.AsynchronousRequestSender
This method sends cacheable invoke procedure GET request asynchronously.
addGlobalHeadersToRequest(Request) - Method in class com.worklight.wlclient.AsynchronousRequestSender
 
addHeader(String, String) - Method in class com.worklight.wlclient.api.WLRequestOptions
 
addHeader(String, String) - Method in class com.worklight.wlclient.api.WLResourceRequest
Adds a header to this resource request.
This method allows response headers to have multiple values.
addParameter(String, String) - Method in class com.worklight.wlclient.api.WLRequestOptions
 
addRequestPiggybacker(WLRequestPiggybacker) - Static method in class com.worklight.wlclient.WLRequest
 
AESStringEncryption - Class in com.worklight.utils
Encryption and decryption of strings based on AES algorithm Created by cirilla on 8/29/15.
AESStringEncryption(String) - Constructor for class com.worklight.utils.AESStringEncryption
 
ANALYTICS_FILENAME - Static variable in class com.worklight.common.Logger
 
ANDROID_BUFFER_8K - Static variable in class com.worklight.nativeandroid.common.WLUtils
 
APP_ID - Static variable in class com.worklight.common.WLConfig
 
AppAuthenticityToken - Class in com.worklight.common.security
IMPORTENT!!! Method a1 in this class connected to the native c code using the Android NDK the method is connected by reflection and this is why you CAN'T change the package name or the Class Name or the method name!!!
AppAuthenticityToken() - Constructor for class com.worklight.common.security.AppAuthenticityToken
 
apply() - Static method in class com.worklight.common.security.PRNGFixes
Applies all fixes.
AsynchronousRequestSender - Class in com.worklight.wlclient
This class used for send asynchronous request in separate thread
AUTHENTICATE - Static variable in interface com.worklight.wlclient.WLRequest.RequestPaths
 
AuthenticityChallengeHandler - Class in com.worklight.wlclient.challengehandler
 
AuthenticityChallengeHandler(String) - Constructor for class com.worklight.wlclient.challengehandler.AuthenticityChallengeHandler
 

B

BACKEND_SERVICE - Static variable in class com.worklight.wlclient.api.WLResourceRequest
 
backendService(String, WLResponseListener) - Method in class com.worklight.wlclient.api.WLClient
 
BaseChallengeHandler<T> - Class in com.worklight.wlclient.api.challengehandler
Abstract base class for all the challenge handlers.
BEARER_ERROR_INVALID_TOKEN - Static variable in class com.worklight.wlclient.api.WLResourceRequest
 
BUNDLE_BASENAME - Static variable in class com.worklight.nativeandroid.common.WLUtils
 
BUNDLE_RESOURCE - Static variable in class com.worklight.nativeandroid.common.WLUtils
 
byteArrayToHexString(byte[]) - Static method in class com.worklight.nativeandroid.common.WLUtils
 

C

cacheScopeByResource(Request, String) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
cacheScopeByResource(String, String, String) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
calculateCheckSum(InputStream, Checksum) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
cancel() - Method in class com.worklight.wlclient.api.challengehandler.BaseChallengeHandler
Calling this method tells MobileFirst Platform that the challenge that you no longer want to take any actions to attempt to resolve the challenge.
canHandleResponse(WLResponse) - Method in class com.worklight.wlclient.api.challengehandler.GatewayChallengeHandler
This method must be overridden by extending the GatewayChallengeHandler class.
CertificateDigester - Interface in com.worklight.wlclient.certificatepinning
 
checkMaxResponseThreshold() - Static method in class com.worklight.nativeandroid.common.WLUtils
 
checkStatus(long) - Method in class com.worklight.wlclient.fips.MicroVPNLib
 
clear() - Method in interface com.worklight.wlclient.cookie.ClearableCookieJar
Clear all the cookies from persistence and from the cache.
ClearableCookieJar - Interface in com.worklight.wlclient.cookie
This interface extends okhttp3.CookieJar and adds methods to clear the cookies.
clearAccessToken(AccessToken) - Method in class com.worklight.wlclient.api.WLAuthorizationManager
Clears the provided access token.
Note: When failing to access a resource with an obtained token, call the clearAccessToken method to clear the invalid token before calling WLAuthorizationManager.obtainAccessToken(String, WLAccessTokenListener) to obtain a new access token.
clearAccessToken(AccessToken) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
clearCachedResourcesAndToken() - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
clearChallengeRequests() - Method in class com.worklight.wlclient.api.challengehandler.BaseChallengeHandler
 
clearKeystore(String) - Method in class com.worklight.common.security.WLCertManager
Remove the keystore
clearRegistration() - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
clearScopeByResource(Request) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
clearSecurityTokenPref() - Method in class com.worklight.common.WLConfig
 
clearSession() - Method in interface com.worklight.wlclient.cookie.ClearableCookieJar
Clear all the session cookies while maintaining the persisted ones.
clearSharedToken(String) - Method in class com.worklight.common.WLSimpleDataSharing
Retrieve value that has been previously shared by applications on the same device that have the same sharedUserId and signing key and properly set MobileFirst Platform configuration.
clearState() - Static method in class com.worklight.nativeandroid.common.WLUtils
 
clearWaitingList() - Method in class com.worklight.wlclient.api.challengehandler.BaseChallengeHandler
 
clearWLPref() - Method in class com.worklight.common.WLConfig
 
CLIENT_PLATFORM - Static variable in class com.worklight.common.WLConfig
 
ClockSyncChallengeHandler - Class in com.worklight.wlclient.auth
Challenge handle to synchronize get the server time.
ClockSyncChallengeHandler(String) - Constructor for class com.worklight.wlclient.auth.ClockSyncChallengeHandler
 
closeMicroVPNConnection(long) - Method in class com.worklight.wlclient.fips.MicroVPNLib
 
closeSocket(String) - Method in class com.worklight.wlclient.fips.MicroVPNLib
 
com.worklight.common - package com.worklight.common
 
com.worklight.common.security - package com.worklight.common.security
 
com.worklight.nativeandroid.common - package com.worklight.nativeandroid.common
 
com.worklight.utils - package com.worklight.utils
 
com.worklight.wlclient - package com.worklight.wlclient
 
com.worklight.wlclient.api - package com.worklight.wlclient.api
 
com.worklight.wlclient.api.challengehandler - package com.worklight.wlclient.api.challengehandler
 
com.worklight.wlclient.auth - package com.worklight.wlclient.auth
 
com.worklight.wlclient.certificatepinning - package com.worklight.wlclient.certificatepinning
 
com.worklight.wlclient.challengehandler - package com.worklight.wlclient.challengehandler
 
com.worklight.wlclient.cookie - package com.worklight.wlclient.cookie
 
com.worklight.wlclient.fips - package com.worklight.wlclient.fips
 
com.worklight.wlclient.ui - package com.worklight.wlclient.ui
 
compareTo(Version) - Method in class com.worklight.utils.Version
This rules apply when comparing two version objects:
1.1 > 1
1.a > 1.1
1.1 < 1.10
computeChecksumOnExternal(String) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
connect(WLResponseListener) - Method in class com.worklight.wlclient.api.WLClient
Deprecated.
Use WLAuthorizationManager.obtainAccessToken("", listener) This method sends an initialization request to the MobileFirst Platform Server, establishes a connection with the server, validates the application version and provides and Access Token.
connect(WLResponseListener, WLRequestOptions) - Method in class com.worklight.wlclient.api.WLClient
Deprecated.
Use WLAuthorizationManager.obtainAccessToken("", listener) This method sends an initialization request to the MobileFirst Platform Server, establishes a connection with the server, validates the application version and provides and Access Token.
CONNECTION_TIMEOUT - Static variable in class com.worklight.wlclient.fips.FipsHttpClient
 
convertGZIPStreamToString(InputStream) - Static method in class com.worklight.nativeandroid.common.WLUtils
Convert GZipped InputStream data to String
convertJSONArrayToList(JSONArray) - Static method in class com.worklight.nativeandroid.common.WLUtils
Convert JSONArray to List
convertStreamToString(InputStream) - Static method in class com.worklight.nativeandroid.common.WLUtils
Convert InputStream data to String
convertStringToJSON(String) - Static method in class com.worklight.nativeandroid.common.WLUtils
Convert JSON string to JSONObject
copyDirectory(File, File) - Static method in class com.worklight.nativeandroid.common.WLUtils
copy source directory to destination directory.
copyFile(File, File) - Static method in class com.worklight.nativeandroid.common.WLUtils
copy source file to destination file.
copyFile(InputStream, OutputStream) - Static method in class com.worklight.nativeandroid.common.WLUtils
copy input stream to output stream
copyStream(InputStream, OutputStream) - Static method in class com.worklight.nativeandroid.common.WLUtils
copy all content from one stream to the other.
createInstance(Context) - Static method in class com.worklight.common.WLConfig
 
createInstance(Context) - Static method in class com.worklight.wlclient.api.WLClient
This method creates the singleton instance of WLClient.
createInstance(Context) - Static method in class com.worklight.wlclient.HttpClientManager
 
createSocket(Socket, String, int, boolean) - Method in class com.worklight.wlclient.TLSEnabledSSLSocketFactory
 
createSocket(String, int) - Method in class com.worklight.wlclient.TLSEnabledSSLSocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class com.worklight.wlclient.TLSEnabledSSLSocketFactory
 
createSocket(InetAddress, int) - Method in class com.worklight.wlclient.TLSEnabledSSLSocketFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class com.worklight.wlclient.TLSEnabledSSLSocketFactory
 
curlCleanup(long) - Method in class com.worklight.wlclient.fips.MicroVPNLib
 
curlExecute(long, long, String, String, String, String[], String[]) - Method in class com.worklight.wlclient.fips.MicroVPNLib
 
curlInit() - Method in class com.worklight.wlclient.fips.MicroVPNLib
 
CYPHER_TEXT_LABEL - Static variable in class com.worklight.wlclient.api.SecurityUtils
 

D

debug(String) - Method in class com.worklight.common.Logger
Log at DEBUG level.
debug(String, JSONObject) - Method in class com.worklight.common.Logger
Log at DEBUG level.
debug(String, JSONObject, Throwable) - Method in class com.worklight.common.Logger
Log at DEBUG level.
decode(byte[]) - Static method in class com.worklight.utils.WLBase64
 
decode(byte[], int) - Static method in class com.worklight.utils.WLBase64
 
decrypt(String) - Method in class com.worklight.utils.AESStringEncryption
 
decrypt(String) - Method in interface com.worklight.utils.StringEncryption
 
decrypt(String, JSONObject) - Static method in class com.worklight.wlclient.api.SecurityUtils
Decrypt the given encrypted object with the given key.
decryptData(InputStream, byte[]) - Static method in class com.worklight.utils.SecurityUtils
 
DEFAULT_analyticsCapture - Static variable in class com.worklight.common.Logger
 
DEFAULT_capture - Static variable in class com.worklight.common.Logger
 
DEFAULT_SCOPE - Static variable in class com.worklight.wlclient.api.WLConstants
 
DEFAULT_showLogsInConsole - Static variable in class com.worklight.common.Logger
 
DEFAULT_TIMEOUT_IN_MILLISECONDS - Static variable in class com.worklight.wlclient.api.challengehandler.GatewayChallengeHandler
 
DELETE - Static variable in class com.worklight.wlclient.api.WLResourceRequest
String constant for the HTTP DELETE method.
DELETE_USER_PREF - Static variable in interface com.worklight.wlclient.WLRequest.RequestPaths
 
deleteDirectory(File) - Static method in class com.worklight.nativeandroid.common.WLUtils
Delete a file or directory, including all its children.
deleteKeyPair() - Method in class com.worklight.common.security.WLOAuthCertManager
 
DeviceDisplayNameListener - Interface in com.worklight.wlclient.api
This interface defines methods that the listener for the WLClient.getDeviceDisplayName(DeviceDisplayNameListener) method implements to receive device display name from server
DIALOGUE_MESSAGE - Static variable in class com.worklight.wlclient.api.WLConstants
 
DIALOGUE_MESSAGE_ID - Static variable in class com.worklight.wlclient.api.WLConstants
 
DIALOGUE_TITLE - Static variable in class com.worklight.wlclient.api.WLConstants
 
disable() - Static method in class com.worklight.common.WLAnalytics
Disable persistent capture of analytics data.
doLog(Logger.LEVEL, String, long, JSONObject, Throwable) - Method in class com.worklight.common.Logger
 
DOWNLOAD_LINK - Static variable in class com.worklight.wlclient.api.WLConstants
 
DUMMY_PINNING_HOST_NAME - Static variable in class com.worklight.wlclient.HttpClientManager
 

E

EMPTY_VERSION - Static variable in class com.worklight.utils.Version
 
enable() - Static method in class com.worklight.common.WLAnalytics
Enable persistent capture of analytics data.
ENABLE_LEGACY_HTTP - Static variable in class com.worklight.common.WLConfig
 
encode(byte[], String) - Static method in class com.worklight.utils.WLBase64
 
encodeBytesAsHexString(byte[]) - Static method in class com.worklight.wlclient.api.SecurityUtils
 
encodeUrlSafe(byte[], String) - Static method in class com.worklight.utils.WLBase64
 
encrypt(String) - Method in class com.worklight.utils.AESStringEncryption
 
encrypt(String) - Method in interface com.worklight.utils.StringEncryption
 
encrypt(String, String) - Static method in class com.worklight.wlclient.api.SecurityUtils
Encrypt the given text with the given key.
ENCRYPTION_SOURCE_LABEL - Static variable in class com.worklight.wlclient.api.SecurityUtils
 
enter(String, String) - Static method in class com.worklight.common.Logger
 
equals(Object) - Method in class com.worklight.utils.Version
 
equals3Digits(Version) - Method in class com.worklight.utils.Version
 
equals4Digits(Version) - Method in class com.worklight.utils.Version
 
error(String) - Method in class com.worklight.common.Logger
Log at ERROR level.
error(String, JSONObject) - Method in class com.worklight.common.Logger
Log at ERROR level.
error(String, JSONObject, Throwable) - Method in class com.worklight.common.Logger
Log at ERROR level.
EVENTS - Static variable in interface com.worklight.wlclient.WLRequest.RequestPaths
 
execute(HttpURLConnection, String) - Method in class com.worklight.wlclient.fips.FipsHttpClient
 
executeRaw(String, String, String, String[]) - Method in class com.worklight.wlclient.fips.FipsHttpClient
 
exit(String, String) - Static method in class com.worklight.common.Logger
 
EXIT_ACTION - Static variable in class com.worklight.wlclient.api.WLConstants
 
extractParametersFromURL(String) - Static method in class com.worklight.nativeandroid.common.WLUtils
 

F

fatal(String, JSONObject, Throwable) - Method in class com.worklight.common.Logger
Log at FATAL level.
FILENAME - Static variable in class com.worklight.common.Logger
 
FipsHttpClient - Class in com.worklight.wlclient.fips
 
FipsHttpClient(Map) - Constructor for class com.worklight.wlclient.fips.FipsHttpClient
 
FIPSInit() - Method in class com.worklight.wlclient.fips.MicroVPNLib
 
fromSring(String) - Static method in enum com.worklight.wlclient.RequestMethod
 
fromString(String) - Static method in enum com.worklight.common.Logger.LEVEL
Get the LEVEL enum from the level String parameter, or null if not found.
fromString(String) - Static method in enum com.worklight.common.WLAnalytics.DeviceEvent
 

G

GatewayChallengeHandler - Class in com.worklight.wlclient.api.challengehandler
You use this abstract base class to create a custom challenge handler to handle responses from a third party gateway.
GatewayChallengeHandler(String) - Constructor for class com.worklight.wlclient.api.challengehandler.GatewayChallengeHandler
Constructs an GatewayChallengeHandler with a specific 'gatewayName'.
generate(Context) - Static method in class com.worklight.wlclient.cookie.WLPersistentCookie
 
generateKey(String, String, int) - Static method in class com.worklight.wlclient.api.SecurityUtils
Generate key of the given length with the given password and salt, using the given number of iterations to generate the key.
generateKey(String, String, int, int) - Static method in class com.worklight.wlclient.api.SecurityUtils
Generate key of the given length with the given password, salt, and key length, using the given number of iterations to generate the key.
generateKeyPair(String, int) - Method in class com.worklight.common.security.WLCertManager
Generate a keypair(private + public) key set, for use with signing metadata.
generateKeyPair() - Method in class com.worklight.common.security.WLOAuthCertManager
 
generateLocalKey(int) - Static method in class com.worklight.wlclient.api.SecurityUtils
 
generateSecretKey(String, String, int, int) - Static method in class com.worklight.wlclient.api.SecurityUtils
 
genKey(char[], byte[], int, int) - Static method in class com.worklight.utils.SecurityUtils.PBKDF2
 
GET - Static variable in class com.worklight.wlclient.api.WLResourceRequest
String constant for the HTTP GET method.
GET_CONFIG - Static variable in interface com.worklight.wlclient.WLRequest.RequestPaths
 
getAdapter() - Method in class com.worklight.wlclient.api.WLProcedureInvocationData
Deprecated.
 
getAllHeaders() - Method in class com.worklight.wlclient.api.WLResourceRequest
Returns all headers for this resource request.
getAnalyticsCapture() - Static method in class com.worklight.common.Logger
 
getAppId() - Method in class com.worklight.common.WLConfig
 
getAppLabel(Context) - Method in class com.worklight.wlclient.OkHttpInterceptor
 
getApplicationAbsolutePathToExternalAppFiles() - Method in class com.worklight.common.WLConfig
 
getApplicationAbsolutePathToExternalWWWFiles() - Method in class com.worklight.common.WLConfig
 
getApplicationData() - Method in class com.worklight.common.WLConfig
 
getApplicationInstallTime() - Method in class com.worklight.common.WLConfig
 
getApplicationOldAbsolutePathToExternalWWWFiles() - Method in class com.worklight.common.WLConfig
 
getApplicationVersion() - Method in class com.worklight.common.WLConfig
 
getAppSessionID() - Static method in class com.worklight.wlclient.api.WLLifecycleHelper
 
getAppURL() - Method in class com.worklight.common.WLConfig
 
getAppWebUrl() - Method in class com.worklight.common.WLConfig
 
getAsAuthorizationRequestHeader() - Method in class com.worklight.wlclient.auth.AccessToken
Returns the value of the access token in the required format for an authorization header.
getAsFormEncodedBodyParameter() - Method in class com.worklight.wlclient.auth.AccessToken
Returns the value of the access token in the required format for the body of an HTTP-request entity.
getAuthorizationHeader(Response) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
getAuthorizationScope(HttpURLConnection) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
getAuthorizationScope(Response) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
getAuthorizationServerRootPath() - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
getAuthorizationServerRootPathAsURL() - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
getAuthorizationServerUrl() - Method in class com.worklight.wlclient.api.WLAuthorizationManager
Returns the URL of the current authorization server.
getBaseChallengeHandler(String) - Method in class com.worklight.wlclient.api.WLClient
 
getByteArrayFromFile(File) - Static method in class com.worklight.common.Logger
 
getCachedAccessToken(String) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
Retrieves the cached authorization header by scope.
getCachedRefreshToken(String) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
Retrieves the cached Refresh Token String If there is no cached Refresh Token this method will return null.
getCapture() - Static method in class com.worklight.common.Logger
Get the current value of the capture flag, indicating that the Logger is recording log calls persistently.
getClientData() - Method in class com.worklight.common.WLConfig
 
getClientId() - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
getConfig() - Method in class com.worklight.wlclient.WLRequest
 
getContext() - Method in class com.worklight.wlclient.api.WLClient
 
getContext() - Method in class com.worklight.wlclient.WLRequest
 
getCookies() - Method in class com.worklight.wlclient.api.WLCookie
 
getCookies() - Static method in class com.worklight.wlclient.cookie.WLPersistentCookie
 
getCookieStore() - Method in class com.worklight.wlclient.api.WLClient
Retrieves the cookie store that is used by the framework when communicating with the server.
getCurrentWithRelativeTime() - Method in class com.worklight.common.WLConfig
 
getDefaultCipherSuites() - Method in class com.worklight.wlclient.TLSEnabledSSLSocketFactory
 
getDescription() - Method in enum com.worklight.wlclient.api.WLErrorCode
This method retrieves the WLErrorCode message.
getDeviceData() - Method in class com.worklight.common.security.WLDeviceAuthManager
 
getDeviceDisplayName(DeviceDisplayNameListener) - Method in class com.worklight.common.security.WLDeviceAuthManager
get device friendly name from server
getDeviceDisplayName(DeviceDisplayNameListener) - Method in class com.worklight.wlclient.api.WLClient
Gets the display name of the device.
getDeviceUUID(Context) - Method in class com.worklight.common.security.WLDeviceAuthManager
 
getDigest(Certificate) - Method in interface com.worklight.wlclient.certificatepinning.CertificateDigester
 
getDigest(Certificate) - Method in class com.worklight.wlclient.certificatepinning.PublicKeyCertificateDigest
 
getDirectUpdatePublicKey() - Method in class com.worklight.common.WLConfig
 
getDomain() - Method in class com.worklight.wlclient.api.WLCookie
 
getErrorCode() - Method in class com.worklight.wlclient.api.WLFailResponse
Deprecated.
As of MobileFirst v8.0, replaced by getErrorStatusCode method.
The WLErrorCode section contains a description of the possible errors.
getErrorMsg() - Method in class com.worklight.wlclient.api.WLFailResponse
This method returns an error message that is for the developer, and not necessarily suitable for the user.
getErrorStatusCode() - Method in class com.worklight.wlclient.api.WLFailResponse
 
getExpiryDate() - Method in class com.worklight.wlclient.api.WLCookie
 
getFilters() - Static method in class com.worklight.common.Logger
Get the current list of filters.
getFirstHeader(String) - Method in class com.worklight.wlclient.api.WLResponse
Returns the first header from the response that matches the given header name.
getFreeSpaceOnDevice() - Static method in class com.worklight.nativeandroid.common.WLUtils
 
getFullAppName(Context) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
getGatewayChallengeHandler(String) - Method in class com.worklight.wlclient.api.WLClient
 
getGatewayChallengeHandler(WLResponse) - Method in class com.worklight.wlclient.api.WLClient
 
getGlobalHeaders() - Method in class com.worklight.wlclient.AsynchronousRequestSender
 
getHandlerName() - Method in class com.worklight.wlclient.api.challengehandler.BaseChallengeHandler
 
getHeader(String) - Method in class com.worklight.wlclient.api.WLResponse
 
getHeaders(String) - Method in class com.worklight.wlclient.api.WLResourceRequest
Returns all headers of the specified name for this resource request.
getHeaders() - Method in class com.worklight.wlclient.api.WLResponse
 
getHost() - Method in class com.worklight.common.WLConfig
 
getInProgressChecksumPref() - Method in class com.worklight.common.WLConfig
 
getInstance(String) - Static method in class com.worklight.common.Logger
Get or create an instance of this logger.
getInstance() - Static method in class com.worklight.common.security.WLDeviceAuthManager
 
getInstance() - Static method in class com.worklight.common.security.WLOAuthCertManager
 
getInstance() - Static method in class com.worklight.common.WLConfig
 
getInstance() - Static method in class com.worklight.wlclient.api.WLAuthorizationManager
Returns the singleton instance of the WLAuthorizationManager class.
getInstance() - Static method in class com.worklight.wlclient.api.WLClient
This method gets the singleton instance of WLClient.
getInstance() - Static method in class com.worklight.wlclient.api.WLLifecycleHelper
 
getInstance() - Static method in class com.worklight.wlclient.AsynchronousRequestSender
 
getInstance() - Static method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
getInstance() - Static method in class com.worklight.wlclient.HttpClientManager
 
getInvocationContext() - Method in class com.worklight.wlclient.api.WLRequestOptions
Return the user invocation context
getInvocationContext() - Method in class com.worklight.wlclient.api.WLResponse
Retrieves the invocation context object that is passed when the WLClient.invokeProcedure(WLProcedureInvocationData, WLResponseListener) method is called.
getJSONResult() - Method in class com.worklight.wlclient.api.WLProcedureInvocationFailResponse
Deprecated.
getJSONResult() - Method in class com.worklight.wlclient.api.WLProcedureInvocationResponse
Deprecated.
getKeyPair(String) - Method in class com.worklight.common.security.WLCertManager
 
getKeyPair() - Method in class com.worklight.common.security.WLOAuthCertManager
 
getLanguagePreferences() - Method in class com.worklight.common.WLConfig
 
getLevel() - Static method in class com.worklight.common.Logger
Get the current Logger.LEVEL.
getLevelDefault() - Static method in class com.worklight.common.Logger
 
getLocalStorageRoot() - Method in class com.worklight.common.WLConfig
 
getMainFileFromDescriptor() - Method in class com.worklight.common.WLConfig
 
getMainFilePath() - Method in class com.worklight.common.WLConfig
 
getMaxFileSize() - Static method in class com.worklight.common.Logger
Get the current setting for the max file size threshold.
getMediaExtensions() - Method in class com.worklight.common.WLConfig
 
getMessagesBundle() - Static method in class com.worklight.nativeandroid.common.WLUtils
 
getMethod() - Method in class com.worklight.wlclient.api.WLResourceRequest
Returns the HTTP method of this resource request.
getMethod() - Method in class com.worklight.wlclient.WLRequest
 
getName() - Method in class com.worklight.wlclient.api.WLCookie
 
getNoBackupFilesDir(Context) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
getOkHeaders() - Method in class com.worklight.wlclient.api.WLRequestOptions
 
getOkHttpClient() - Method in class com.worklight.wlclient.HttpClientManager
 
getOkRequest() - Method in class com.worklight.wlclient.WLRequest
 
getOptions() - Method in class com.worklight.wlclient.api.WLResponse
 
getOptions() - Method in class com.worklight.wlclient.WLRequest
 
getPackageName() - Method in class com.worklight.common.WLConfig
 
getParameters() - Method in class com.worklight.wlclient.api.WLProcedureInvocationData
Deprecated.
 
getParameters() - Method in class com.worklight.wlclient.api.WLRequestOptions
 
getPart(int) - Method in class com.worklight.utils.Version
 
getPath() - Method in class com.worklight.wlclient.api.WLCookie
 
getPersistentCookies() - Method in class com.worklight.wlclient.api.WLClient
Retrieves the persistent cookie that is used by the framework when communicating with the server.
getPlatformVersion() - Method in class com.worklight.common.WLConfig
 
getPort() - Method in class com.worklight.common.WLConfig
 
getPrefix(int) - Method in class com.worklight.utils.Version
 
getProcedure() - Method in class com.worklight.wlclient.api.WLProcedureInvocationData
Deprecated.
 
getProcedureInvocationErrors() - Method in class com.worklight.wlclient.api.WLProcedureInvocationFailResponse
This method returns a list of applicative error messages that are collected while the procedure is called.
getProtocol() - Method in class com.worklight.common.WLConfig
 
getQueryParameters() - Method in class com.worklight.wlclient.api.WLResourceRequest
Returns the query parameters set for this resource request as a Map.
getQueryString() - Method in class com.worklight.wlclient.api.WLResourceRequest
Returns the query parameters of this resource request as a string.
getRandomString(int) - Static method in class com.worklight.wlclient.api.SecurityUtils
Generate a hexadecimal-encoded random byte string locally with the given byte length.
getRandomStringFromServer(int, Context, WLRequestListener) - Static method in class com.worklight.wlclient.api.SecurityUtils
Gets a random string from the server.
getRegistrationAttributesData() - Method in class com.worklight.common.WLConfig
Generate a JSONObject that holds custom registration attributes
getRequestListener() - Method in class com.worklight.wlclient.WLRequest
 
getResourceChecksumPref() - Method in class com.worklight.common.WLConfig
 
getResourceId(Context, String, String) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
getResourceScope(HttpURLConnection) - Method in class com.worklight.wlclient.api.WLAuthorizationManager
Returns the scope of the protected resource for the provided HTTP connection.
Note: Call this method only for a connection for which WLAuthorizationManager.isAuthorizationRequired(HttpURLConnection) returns true, indicating that the target resource is protected.
getResourceScope(Map) - Method in class com.worklight.wlclient.api.WLAuthorizationManager
Returns the scope of the protected resource for the provided response headers.
Note: Call this method only for response headers for which WLAuthorizationManager.isAuthorizationRequired(int, Map) returns true, indicating that the resource is protected.
getResourceString(String, Context) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
getResourceString(String, String, Context) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
getResponseBytes() - Method in class com.worklight.wlclient.api.WLResponse
Retrieves the original response from the server, in the form of an array of bytes.
getResponseJSON() - Method in class com.worklight.wlclient.api.WLResponse
 
getResponseListener() - Method in class com.worklight.wlclient.api.WLRequestOptions
 
getResponseText() - Method in class com.worklight.wlclient.api.WLResponse
Retrieves the original response text from the server.
getResult() - Method in class com.worklight.wlclient.api.WLProcedureInvocationFailResponse
This method returns a JSONObject that represents the JSON response from the server.
getResult() - Method in class com.worklight.wlclient.api.WLProcedureInvocationResult
Deprecated.
 
getRootURL() - Method in class com.worklight.common.WLConfig
 
getScope() - Method in class com.worklight.wlclient.auth.AccessToken
 
getScopeByResource(String, String) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
getSDKVersion() - Static method in class com.worklight.nativeandroid.common.WLUtils
 
getSecurityCheckChallengeHandler(String) - Method in class com.worklight.wlclient.api.WLClient
 
getServerContext() - Method in class com.worklight.common.WLConfig
 
getServerUrl() - Method in class com.worklight.wlclient.api.WLClient
Returns the current MobileFirst Platform server URL
getShareCookies() - Method in class com.worklight.common.WLConfig
 
getSharedToken(String) - Method in class com.worklight.common.WLSimpleDataSharing
Retrieve value that has been previously shared by applications on the same device that have the same sharedUserId and signing key and properly set MobileFirst Platform configuration.
getShowLogsInConsole() - Static method in class com.worklight.common.Logger
Get the current value of the capture flag, indicating that the Logger is recording log calls persistently.
getStatus() - Method in class com.worklight.wlclient.api.WLResponse
Retrieves the HTTP status from the response.
getStatusText() - Method in class com.worklight.wlclient.api.WLResponse
 
getSupportedCipherSuites() - Method in class com.worklight.wlclient.TLSEnabledSSLSocketFactory
 
getTestWebResourcesChecksumFlag() - Method in class com.worklight.common.WLConfig
 
getTimeout() - Method in class com.worklight.wlclient.api.WLRequestOptions
This method gets the request timeout that you currently use.
getTimeout() - Method in class com.worklight.wlclient.api.WLResourceRequest
Returns the expiration period (timeout) for this resource request.
getTree(File) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
getUrl() - Method in class com.worklight.wlclient.api.WLResourceRequest
Returns the URL for this resource request.
getValue() - Method in class com.worklight.wlclient.api.WLCookie
 
getValue() - Method in class com.worklight.wlclient.auth.AccessToken
Returns the value of the access token.
getWebResourcesUnpackedSize() - Method in class com.worklight.common.WLConfig
 
getWebResourcesUrl() - Method in class com.worklight.common.WLConfig
 
getWebUrl() - Method in class com.worklight.common.WLConfig
 
getWebViewUserAgent() - Method in class com.worklight.wlclient.HttpClientManager
 
getWLFailResponse() - Method in exception com.worklight.wlclient.api.WLAuthorizationException
 
getWlGenerateDeviceIdStrong() - Method in class com.worklight.common.WLConfig
 

H

handleChallenge(T) - Method in class com.worklight.wlclient.api.challengehandler.BaseChallengeHandler
You must implement this method to handle the challenge logic, for example to display the login screen.
handleChallenge(JSONObject) - Method in class com.worklight.wlclient.auth.ClockSyncChallengeHandler
 
handleChallenge(JSONObject) - Method in class com.worklight.wlclient.challengehandler.AuthenticityChallengeHandler
 
handleChallenge(JSONObject) - Method in class com.worklight.wlclient.challengehandler.RegistrationClientIdChallengeHandler
 
handleChallenge(JSONObject) - Method in class com.worklight.wlclient.challengehandler.RemoteDisableChallengeHandler
 
handleFailure(JSONObject) - Method in class com.worklight.wlclient.api.challengehandler.SecurityCheckChallengeHandler
This method is called when the MobileFirst Platform Server reports an authentication failure.
handleFailure(JSONObject) - Method in class com.worklight.wlclient.auth.ClockSyncChallengeHandler
 
handleFailure(JSONObject) - Method in class com.worklight.wlclient.challengehandler.AuthenticityChallengeHandler
 
handleFailure(JSONObject) - Method in class com.worklight.wlclient.challengehandler.RegistrationClientIdChallengeHandler
 
handleFailure(JSONObject) - Method in class com.worklight.wlclient.challengehandler.RemoteDisableChallengeHandler
 
handleSuccess(JSONObject) - Method in class com.worklight.wlclient.api.challengehandler.SecurityCheckChallengeHandler
This method is called when the MobileFirst Platform Server reports an authentication success.
handleSuccess(JSONObject) - Method in class com.worklight.wlclient.auth.ClockSyncChallengeHandler
 
handleSuccess(JSONObject) - Method in class com.worklight.wlclient.challengehandler.AuthenticityChallengeHandler
 
handleSuccess(JSONObject) - Method in class com.worklight.wlclient.challengehandler.RegistrationClientIdChallengeHandler
 
handleSuccess(JSONObject) - Method in class com.worklight.wlclient.challengehandler.RemoteDisableChallengeHandler
 
HASH_ALGORITH_MD5 - Static variable in class com.worklight.utils.SecurityUtils
 
HASH_ALGORITH_SHA1 - Static variable in class com.worklight.utils.SecurityUtils
 
hashCode() - Method in class com.worklight.utils.Version
 
hashData(String, String) - Static method in class com.worklight.utils.SecurityUtils
 
hashData(byte[], String) - Static method in class com.worklight.utils.SecurityUtils
 
hashDataFromJSON(Context, JSONArray) - Static method in class com.worklight.utils.SecurityUtils
 
HashMapToJSONObject(HashMap<String, Logger.LEVEL>) - Static method in class com.worklight.common.Logger
 
HEAD - Static variable in class com.worklight.wlclient.api.WLResourceRequest
String constant for the HTTP {@code HEAD method.
HEART_BEAT - Static variable in interface com.worklight.wlclient.WLRequest.RequestPaths
 
hexStringToByteArray(String) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
HTTP_STATUS - Static variable in class com.worklight.wlclient.api.WLFailResponse
 
HttpClientManager - Class in com.worklight.wlclient
 

I

info(String) - Method in class com.worklight.common.Logger
Log at INFO level.
info(String, JSONObject) - Method in class com.worklight.common.Logger
Log at INFO level.
init(Context) - Method in class com.worklight.common.security.WLCertManager
Initialize state variables for this device auth session
init(Application) - Static method in class com.worklight.common.WLAnalytics
Initialize WLAnalytics API.
init(Context) - Static method in class com.worklight.wlclient.api.WLLifecycleHelper
 
INIT - Static variable in interface com.worklight.wlclient.WLRequest.RequestPaths
 
intercept(Chain) - Method in class com.worklight.wlclient.OkHttpInterceptor
 
INVOKE_PROCEDURE - Static variable in interface com.worklight.wlclient.WLRequest.RequestPaths
 
invokeAuthorizationRequest(String, WLResponseListener) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
invokeAuthorizationRequestForScope(String, WLResponseListener) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
invokeGetRegistrationDataRequest(WLRequestListener) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
invokeProcedure(WLProcedureInvocationData, WLResponseListener, WLRequestOptions) - Method in class com.worklight.wlclient.api.WLClient
Deprecated.
As of MobileFirst v8.0, replaced by WLResourceRequest

This method sends an asynchronous call to an adapter procedure. The response is returned to the callback functions of the specified WLResponseListener.
If the invocation succeeds, onSuccess(WLResponse) is called. If it fails, onFailure(WLFailResponse) is called.
invokeProcedure(WLProcedureInvocationData, WLResponseListener) - Method in class com.worklight.wlclient.api.WLClient
Deprecated.
As of MobileFirst v8.0, replaced by WLResourceRequest.
Invokes an adapter procedure (similar to JavaScript WL.Client.invokeProcedure ).

The response is returned to the provided listener callback functions. Upon a successful response from the server, the listener's

onSuccess
is called.
onFailure
is called in case of an error, including a login form response from the server, which is also considered an error.

Example

The following code invokes a procedure "getStoriesFiltered" in the adapter "RSSReader" using a parameter "Africa":

  String adapterName = "RSSReader";
  String procedureName = "getStoriesFiltered";

  WLProcedureInvocationData invocationData = new WLProcedureInvocationData(adapterName, procedureName);

  Object[] parameters = new Object[] {"africa"};
  invocationData.setParameters(parameters);

  WLClient client = WLClient.getInstance();
  client.invokeProcedure(invocationData, new MyInvokeListener(), options);
 
invokeRegistrationRequest(WLRequestListener) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
isApplicationSentToBackground() - Static method in class com.worklight.wlclient.api.WLClient
 
isAuthorizationRequired(HttpURLConnection) - Method in class com.worklight.wlclient.api.WLAuthorizationManager
Checks whether the provided HTTP connection represents a protected resource that requires authorization.
isAuthorizationRequired(int, Map) - Method in class com.worklight.wlclient.api.WLAuthorizationManager
Checks whether the provided response status and headers represent a protected resource that requires authorization.
isAuthorizationRequired(Response) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
isAuthorizationRequired(int, Map) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
isAZRequest() - Method in class com.worklight.wlclient.api.WLRequestOptions
 
isBiggerThan(Version) - Method in class com.worklight.utils.Version
 
isCacheableRequest() - Method in class com.worklight.wlclient.api.WLProcedureInvocationData
Deprecated.
This method is for internal use only.
isClearCacheNextLoad() - Method in class com.worklight.common.WLConfig
 
isCompressResponse() - Method in class com.worklight.wlclient.api.WLProcedureInvocationData
Deprecated.
 
isContainBrackets(String) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
isEncrypted() - Method in class com.worklight.common.WLConfig
 
isExternalWebResources() - Method in class com.worklight.common.WLConfig
 
isForbidden(Response) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
isFromChallenge() - Method in class com.worklight.wlclient.api.WLRequestOptions
 
isGatewayResponse(WLResponse) - Method in class com.worklight.wlclient.api.WLClient
 
isGreaterOrEqual(Version) - Method in class com.worklight.utils.Version
 
isHybridActivityInForeground() - Method in class com.worklight.common.WLConfig
 
isInitComplete() - Method in class com.worklight.common.WLConfig
 
isJsonContentType() - Method in class com.worklight.wlclient.api.WLRequestOptions
 
isMediaFile(String, String[]) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
isMfpConflict(WLResponse) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
isRefreshTokenEnabled() - Method in class com.worklight.common.WLConfig
 
isRegistrationInProgress() - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
isSecure() - Method in class com.worklight.wlclient.api.WLCookie
 
isShareUserCert() - Method in class com.worklight.common.WLConfig
 
isShouldTestWebResourcesChecksum() - Method in class com.worklight.common.WLConfig
 
isShowAllNotificationsInTray() - Method in class com.worklight.common.WLConfig
 
isSmallerThan(Version) - Method in class com.worklight.utils.Version
 
isStringEmpty(String) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
isSuccessful() - Method in class com.worklight.wlclient.api.WLProcedureInvocationResult
Deprecated.
This method returns true if the procedure invocation was technically successful.
isTextContentType() - Method in class com.worklight.wlclient.api.WLRequestOptions
 
isUnCaughtExceptionDetected() - Static method in class com.worklight.common.Logger
Ask the Logger if an uncaught exception, which often appears to the user as a crashed app, is present in the persistent capture buffer.
IV_LABEL - Static variable in class com.worklight.wlclient.api.SecurityUtils
 

J

JSON_KEY_FAILURES - Static variable in class com.worklight.wlclient.api.WLFailResponse
 
JSONObjectToHashMap(JSONObject) - Static method in class com.worklight.common.Logger
 
JWT - Class in com.worklight.wlclient.auth
 
JWT() - Constructor for class com.worklight.wlclient.auth.JWT
 

K

kpg(Context, String[]) - Static method in class com.worklight.utils.PaidSecurityUtils
 
kpg(Context, String[]) - Static method in class com.worklight.utils.SecurityUtils
 

L

LinuxPRNGSecureRandom() - Constructor for class com.worklight.common.security.PRNGFixes.LinuxPRNGSecureRandom
 
loadLib(Context, String) - Static method in class com.worklight.nativeandroid.common.WLUtils
This method assumes it will find the library at: files/featurelibs/{arch}/{library}.zip It will unzip the library to the root folder, and delete the original, then see if any other architecture folders exist and delete them since they will never be used on this architecture.
log(String) - Method in class com.worklight.common.Logger
Log at LOG (Android VERBOSE) level.
log(String, JSONObject) - Method in class com.worklight.common.Logger
Log at LOG (Android VERBOSE) level.
log(String, JSONObject) - Static method in class com.worklight.common.WLAnalytics
Log data you want to be captured in the context of "analytics".
log(String, JSONObject, Throwable) - Static method in class com.worklight.common.WLAnalytics
Log exceptions you want to be captured in the context of "analytics".
LOG_CAT - Static variable in class com.worklight.nativeandroid.common.WLUtils
 
logAppBackground() - Static method in class com.worklight.common.WLAnalytics
Manually record the application successfully exiting from the user (entering the background) - used to recored app session analytics.
logAppBackground() - Method in class com.worklight.wlclient.api.WLLifecycleHelper
 
logAppCrash(Throwable) - Static method in class com.worklight.common.WLAnalytics
Manually record the application crashing - used to record app session analytics.
logAppCrash(Throwable) - Method in class com.worklight.wlclient.api.WLLifecycleHelper
 
logAppForeground() - Static method in class com.worklight.common.WLAnalytics
Manually record the application entering the foreground - used to record app session analytics.
logAppForeground() - Method in class com.worklight.wlclient.api.WLLifecycleHelper
 
Logger - Class in com.worklight.common
Logger is an abstraction of, and pass through to, android.util.Log.
Logger.LEVEL - Enum in com.worklight.common
Levels supported in this Logger class.
login(String, JSONObject, WLLoginResponseListener) - Method in class com.worklight.wlclient.api.WLAuthorizationManager
Logs into the specified security check.
login(String, JSONObject, WLLoginResponseListener) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
LOGIN - Static variable in interface com.worklight.wlclient.WLRequest.RequestPaths
 
logNetworkData(String) - Static method in class com.worklight.common.Logger
 
logout(String, WLLogoutResponseListener) - Method in class com.worklight.wlclient.api.WLAuthorizationManager
Logs out of the specified security check.
logout(String, WLLogoutResponseListener) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
Logout from specific securityCheck
LOGOUT - Static variable in interface com.worklight.wlclient.WLRequest.RequestPaths
 
LOLLIPOP_MR1 - Static variable in class com.worklight.nativeandroid.common.WLUtils
 
LRUCache<K,V> - Class in com.worklight.wlclient.auth
 

M

makeRequest(String) - Method in class com.worklight.wlclient.WLRequest
 
makeRequest(String, boolean) - Method in class com.worklight.wlclient.WLRequest
Create http request and send it for asynchronous execution
MAX_NUM_LOG_FILES - Static variable in class com.worklight.common.Logger
 
MicroVPNLib - Class in com.worklight.wlclient.fips
 
MicroVPNLib() - Constructor for class com.worklight.wlclient.fips.MicroVPNLib
 
MultifileAssetStream - Class in com.worklight.utils
 
MultifileAssetStream(String, AssetManager) - Constructor for class com.worklight.utils.MultifileAssetStream
 

N

NEUTRAL_BUTTON_TEXT - Static variable in class com.worklight.wlclient.api.WLConstants
 
NoSuchResourceException - Exception in com.worklight.common
 
NoSuchResourceException(String, Exception) - Constructor for exception com.worklight.common.NoSuchResourceException
 
NOTIFICATION - Static variable in interface com.worklight.wlclient.WLRequest.RequestPaths
 
NOTIFY_ACTION - Static variable in class com.worklight.wlclient.api.WLConstants
 

O

obtainAccessToken(String, WLAccessTokenListener) - Method in class com.worklight.wlclient.api.WLAuthorizationManager
Obtains an access token for the specified resource scope from the MobileFirst authorization server.
obtainAccessToken(String, WLAccessTokenListener) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
OkHttpInterceptor - Class in com.worklight.wlclient
Request/Response interceptor for logging analytics inside of HttpClientManager's DefaultHttpClient
OkHttpInterceptor(WLConfig, Context) - Constructor for class com.worklight.wlclient.OkHttpInterceptor
 
onCreate(Bundle) - Method in class com.worklight.wlclient.ui.UIActivity
 
onCreateOptionsMenu(Menu) - Method in class com.worklight.wlclient.ui.UIActivity
 
onException(Exception) - Method in interface com.worklight.wlclient.WLHybridHttpListener
 
onFailure(WLFailResponse) - Method in interface com.worklight.wlclient.api.DeviceDisplayNameListener
Called when WLClient.getDeviceDisplayName fails.
onFailure(WLFailResponse) - Method in interface com.worklight.wlclient.api.WLAccessTokenListener
Called when WLAuthorizationManager.obtainAccessToken fails.
onFailure(WLFailResponse) - Method in interface com.worklight.wlclient.api.WLLoginResponseListener
Called when WLAuthorizationManager.login fails.
onFailure(WLFailResponse) - Method in interface com.worklight.wlclient.api.WLLogoutResponseListener
Called when WLAuthorizationManager.logout fails.
onFailure(WLFailResponse) - Method in interface com.worklight.wlclient.api.WLResponseListener
Called if any failure occurred during the execution of the WLClient.invokeProcedure(WLProcedureInvocationData, WLResponseListener).
onFailure(WLAuthorizationException) - Method in interface com.worklight.wlclient.WLClientInstanceIdListener
 
onFailure(WLFailResponse) - Method in interface com.worklight.wlclient.WLRequestListener
 
onFailure(WLFailResponse) - Method in interface com.worklight.wlclient.WLRequestPiggybacker
 
onPause() - Method in class com.worklight.wlclient.api.WLLifecycleHelper
 
onResponse(Response) - Method in interface com.worklight.wlclient.WLHybridHttpListener
 
onResume() - Method in class com.worklight.wlclient.api.WLLifecycleHelper
 
onSuccess(String) - Method in interface com.worklight.wlclient.api.DeviceDisplayNameListener
Called when WLClient.getDeviceDisplayName completes successfully.
onSuccess(AccessToken) - Method in interface com.worklight.wlclient.api.WLAccessTokenListener
Called when WLAuthorizationManager.obtainAccessToken completes successfully.
onSuccess() - Method in interface com.worklight.wlclient.api.WLLoginResponseListener
Called when WLAuthorizationManager.login completes successfully.
onSuccess() - Method in interface com.worklight.wlclient.api.WLLogoutResponseListener
Called when WLAuthorizationManager.logout completes successfully.
onSuccess(WLResponse) - Method in interface com.worklight.wlclient.api.WLResponseListener
onSuccess(String) - Method in interface com.worklight.wlclient.WLClientInstanceIdListener
 
onSuccess(WLResponse) - Method in interface com.worklight.wlclient.WLRequestListener
 
onSuccess(WLResponse) - Method in interface com.worklight.wlclient.WLRequestPiggybacker
 
openMicroVPNConnection(String, String, String, String) - Method in class com.worklight.wlclient.fips.MicroVPNLib
 
openSocket(String, String, String) - Method in class com.worklight.wlclient.fips.MicroVPNLib
 
OPTIONS - Static variable in class com.worklight.wlclient.api.WLResourceRequest
String constant for the HTTP OPTIONS method.
overrideDeviceID(String, Context) - Method in class com.worklight.common.security.WLDeviceAuthManager
 

P

PaidSecurityUtils - Class in com.worklight.utils
 
PaidSecurityUtils() - Constructor for class com.worklight.utils.PaidSecurityUtils
 
PARAM_MFPREDIRECTURI - Static variable in class com.worklight.wlclient.HttpClientManager
 
PBKDF2() - Constructor for class com.worklight.utils.SecurityUtils.PBKDF2
 
pinMultipleTrustedCertificatePublicKey(Certificate[]) - Method in class com.worklight.wlclient.HttpClientManager
Pin certificate to the instance of the http client.
pinTrustedCertificatePublicKey(String) - Method in class com.worklight.wlclient.api.WLClient
Pins the host X509 certificate public key to the client application.
pinTrustedCertificatePublicKey(String[]) - Method in class com.worklight.wlclient.api.WLClient
Pins multiple X509 certificates' public key to the client application.
pinTrustedCertificatePublicKey(Certificate) - Method in class com.worklight.wlclient.HttpClientManager
Pin certificate to the instance of the http client.
pinTrustedCertificatePublicKey(Certificate, String) - Method in class com.worklight.wlclient.HttpClientManager
Pin certificate to the instance of the http client.
POSITIVE_BUTTON_TEXT - Static variable in class com.worklight.wlclient.api.WLConstants
 
POST - Static variable in class com.worklight.wlclient.api.WLResourceRequest
String constant for the HTTP POST method.
PRNGFixes - Class in com.worklight.common.security
Fixes for the output of the default PRNG having low entropy.
PRNGFixes.LinuxPRNGSecureRandom - Class in com.worklight.common.security
SecureRandomSpi which passes all requests to the Linux PRNG (/dev/urandom).
processAutomaticTrigger() - Static method in class com.worklight.common.Logger
 
processFailureResponse(WLResponse) - Method in class com.worklight.wlclient.WLRequest
 
processOptions(String, WLRequestOptions) - Method in interface com.worklight.wlclient.WLRequestPiggybacker
Implementations may manipulate the outbound request via the options object.
PROTOCOL_ERROR_MESSAGE - Static variable in class com.worklight.wlclient.challengehandler.RemoteDisableChallengeHandler
 
PROTOCOL_MESSAGE_ID - Static variable in class com.worklight.wlclient.challengehandler.RemoteDisableChallengeHandler
 
PublicKeyCertificateDigest - Class in com.worklight.wlclient.certificatepinning
 
PublicKeyCertificateDigest() - Constructor for class com.worklight.wlclient.certificatepinning.PublicKeyCertificateDigest
 
PUT - Static variable in class com.worklight.wlclient.api.WLResourceRequest
String constant for the HTTP PUT method.

R

read(File) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
readLongWLPref(String) - Method in class com.worklight.common.WLConfig
 
readPref(String, String) - Method in class com.worklight.common.WLConfig
 
readPrefEncrypted(String, String) - Method in class com.worklight.common.WLConfig
 
readSecurityPref(String) - Method in class com.worklight.common.WLConfig
 
readSecurityTokenPref(String) - Method in class com.worklight.common.WLConfig
 
readStreamToByteArray(InputStream) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
readWLPref(String) - Method in class com.worklight.common.WLConfig
 
readWLPrefEncrypted(String) - Method in class com.worklight.common.WLConfig
 
REDIRECT - Static variable in class com.worklight.wlclient.fips.FipsHttpClient
 
regenerateDeviceID(Context) - Method in class com.worklight.common.security.WLDeviceAuthManager
 
registerChallengeHandler(BaseChallengeHandler) - Method in class com.worklight.wlclient.api.WLClient
You can use this method to register a challenge handler in the client.
RegistrationClientIdChallengeHandler - Class in com.worklight.wlclient.challengehandler
 
RegistrationClientIdChallengeHandler(String) - Constructor for class com.worklight.wlclient.challengehandler.RegistrationClientIdChallengeHandler
 
releaseWaitingList() - Method in class com.worklight.wlclient.api.challengehandler.BaseChallengeHandler
 
REMOTE_DISABLE_ACTION - Static variable in class com.worklight.wlclient.api.WLConstants
 
RemoteDisableChallengeHandler - Class in com.worklight.wlclient.challengehandler
 
RemoteDisableChallengeHandler(String) - Constructor for class com.worklight.wlclient.challengehandler.RemoteDisableChallengeHandler
 
removeDeviceEventListener(WLAnalytics.DeviceEvent) - Static method in class com.worklight.common.WLAnalytics
Disable analytics from capturing the specified DeviceEvent
removeEntityKeyStoreValues(String) - Method in class com.worklight.common.security.WLCertManager
Remove the
removeExpectedAnswer(String) - Method in class com.worklight.wlclient.WLRequest
 
removeGlobalHeader(String) - Method in class com.worklight.wlclient.api.WLClient
You use this method to remove a global header.
removeGlobalHeader(String) - Method in class com.worklight.wlclient.AsynchronousRequestSender
 
removeHeaders(String) - Method in class com.worklight.wlclient.api.WLResourceRequest
Removes headers with the specified name for this resource request.
removeRequestPiggybacker(WLRequestPiggybacker) - Static method in class com.worklight.wlclient.WLRequest
 
removeSecurityTokenPref(String) - Method in class com.worklight.common.WLConfig
 
removeTokenByScope(String) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
requestFinished(WLResponse) - Method in class com.worklight.wlclient.WLRequest
the try catch structure is used to separate platform exceptions from application code exceptions (we dont want to wrap the application code in try catch)
RequestMethod - Enum in com.worklight.wlclient
 
resendRequest() - Method in class com.worklight.wlclient.WLRequest
 
reset(Context) - Static method in class com.worklight.wlclient.AsynchronousRequestSender
 
resetCookies() - Method in class com.worklight.wlclient.fips.FipsHttpClient
 
resetCookies() - Method in class com.worklight.wlclient.fips.MicroVPNLib
 
resetDeviceID() - Method in class com.worklight.wlclient.api.WLClient
Resets Device ID in MobileFirst SDK

S

scaleImage(Drawable, float, float) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
SDK_PROTOCOL_VERSION_KEY - Static variable in class com.worklight.common.WLConfig
 
SecurityCheckChallengeHandler - Class in com.worklight.wlclient.api.challengehandler
Abstract base class for the IBM MobileFirst Platform challenge handlers.
SecurityCheckChallengeHandler(String) - Constructor for class com.worklight.wlclient.api.challengehandler.SecurityCheckChallengeHandler
Constructs an SecurityCheckChallengeHandler for a specific security check.
SecurityUtils - Class in com.worklight.utils
 
SecurityUtils() - Constructor for class com.worklight.utils.SecurityUtils
 
SecurityUtils - Class in com.worklight.wlclient.api
MobileFirst Platform class that provides security utilities.
SecurityUtils() - Constructor for class com.worklight.wlclient.api.SecurityUtils
 
SecurityUtils.PBKDF2 - Class in com.worklight.utils
 
send() - Static method in class com.worklight.common.Logger
Send the accumulated log data when the persistent log buffer exists and is not empty.
send(WLRequestListener) - Static method in class com.worklight.common.Logger
send() - Static method in class com.worklight.common.WLAnalytics
Send the accumulated log data when the persistent log buffer exists and is not empty.
send(WLRequestListener) - Static method in class com.worklight.common.WLAnalytics
send(WLResponseListener) - Method in class com.worklight.wlclient.api.WLResourceRequest
Send this resource request asynchronously, without a request body.
send(String, WLResponseListener) - Method in class com.worklight.wlclient.api.WLResourceRequest
Sends this resource request asynchronously, with the provided string as the request body.
send(Map<String, String>, WLResponseListener) - Method in class com.worklight.wlclient.api.WLResourceRequest
Sends this resource request asynchronously, with the provided form parameters as the request body.
send(JSONObject, WLResponseListener) - Method in class com.worklight.wlclient.api.WLResourceRequest
Sends this resource request asynchronously, with the given JSON object as the request body.
SEND_INVOKE_PROCEDURE - Static variable in interface com.worklight.wlclient.WLRequest.RequestPaths
 
sendAnalytics(WLRequestListener) - Static method in class com.worklight.common.Logger
 
sendCSR(String, Context) - Method in interface com.worklight.common.security.WLProvisioningDelegate
Send CSR request in order to get the certificate back provider (default is MobileFirst Platform Server)
sendIfUnCaughtExceptionDetected(Context) - Static method in class com.worklight.common.Logger
Deprecated.
since version 6.2; use Logger.send() with Logger.isUnCaughtExceptionDetected() conditional instead.

Send the log file when there is an uncaught exception detected, and was recorded to the log buffer due to capture being turned on at the time of the uncaught exception.

This is a convenience method so that callers may place a single line of code at the point in their application where they want to call it.

sendWLRequestAsync(WLRequest) - Method in class com.worklight.wlclient.AsynchronousRequestSender
This method send WLRequests asynchronously.
SERVER_TIME_STAMP - Static variable in class com.worklight.wlclient.auth.ClockSyncChallengeHandler
 
SET_USER_PREFS - Static variable in interface com.worklight.wlclient.WLRequest.RequestPaths
 
setAnalyticsCapture(boolean) - Static method in class com.worklight.common.Logger
 
setApplicationInstallTime(long) - Method in class com.worklight.common.WLConfig
 
setAuthorizationServerUrl(URL) - Method in class com.worklight.wlclient.api.WLAuthorizationManager
Sets the URL of the authorization server.
setAuthorizationServerUrl(URL) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
setAutoSendLogs(boolean) - Static method in class com.worklight.common.Logger
Global setting: turn Auto Log Send on and off.
setAutoSendLogs(boolean, int) - Static method in class com.worklight.common.Logger
Global setting: turn Auto Log Send on and off.
setAZRequest(boolean) - Method in class com.worklight.wlclient.api.WLRequestOptions
Set true for authorization requests
setCacheableRequest(boolean) - Method in class com.worklight.wlclient.api.WLProcedureInvocationData
Deprecated.
This method is for internal use only.
setCapture(boolean) - Static method in class com.worklight.common.Logger
Global setting: turn persisting of log data passed to this class's log methods on or off.
setClearCacheNextLoadPref(boolean) - Method in class com.worklight.common.WLConfig
 
setCompressResponse(boolean) - Method in class com.worklight.wlclient.api.WLProcedureInvocationData
Deprecated.
This method enables or disables compression.
setContext(Context) - Static method in class com.worklight.common.Logger
Context object must be set in order to use the Logger API.
setContext(Context) - Static method in class com.worklight.common.WLAnalytics
Deprecated.
use WLAnalytics.init() instead Context object must be set in order to use the WLAnalytics API. This is called automatically by WL.init.
setCtx(Context) - Static method in class com.worklight.wlclient.fips.FipsHttpClient
First caller of FipsHttpClient should first set the static context.
setDefaultRootUrlPref() - Method in class com.worklight.common.WLConfig
 
setDeviceDisplayName(String, WLRequestListener) - Method in class com.worklight.common.security.WLDeviceAuthManager
set device friendly name in server registration data
setDeviceDisplayName(String, WLRequestListener) - Method in class com.worklight.wlclient.api.WLClient
Sets the display name of the device.
setDeviceID(String) - Method in class com.worklight.wlclient.api.WLClient
Sets the Device ID MobileFirst SDK
setExternalWebResourcesPref(boolean) - Method in class com.worklight.common.WLConfig
 
setFilters(HashMap<String, Logger.LEVEL>) - Static method in class com.worklight.common.Logger
Filter on packages at and above designated LEVEL.
setFromChallenge(boolean) - Method in class com.worklight.wlclient.api.WLRequestOptions
 
setHeaders(Map<String, List<String>>) - Method in class com.worklight.wlclient.api.WLResourceRequest
Sets the specified headers for this resource request.
For a header that is already set, the new value overwrites the previous value.
setHeartBeatInterval(int) - Method in class com.worklight.wlclient.api.WLClient
Sets heart beat interval.
setHybridActivityInForeground(boolean) - Method in class com.worklight.common.WLConfig
 
setInitComplete(boolean) - Method in class com.worklight.common.WLConfig
 
setInProgressChecksumPref(long) - Method in class com.worklight.common.WLConfig
 
setInvocationContext(Object) - Method in class com.worklight.wlclient.api.WLRequestOptions
User can add to the request any object, that will be available on the callback (success/failure) functions.
setIsEncrypted(boolean) - Method in class com.worklight.common.WLConfig
 
setJsonContentType(boolean) - Method in class com.worklight.wlclient.api.WLRequestOptions
 
setLevel(Logger.LEVEL) - Static method in class com.worklight.common.Logger
Set the level and above at which log messages should be saved/printed.
setLoginTimeout(int) - Method in class com.worklight.wlclient.api.WLAuthorizationManager
Sets the authorization flow time out.
setLoginTimeout(int) - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
 
setMaxFileSize(int) - Static method in class com.worklight.common.Logger
Set the maximum size of the local log file.
setMethod(RequestMethod) - Method in class com.worklight.wlclient.WLRequest
 
setOptions(WLRequestOptions) - Method in class com.worklight.wlclient.api.WLResponse
 
setParameters(Object[]) - Method in class com.worklight.wlclient.api.WLProcedureInvocationData
Deprecated.
This method sets the request parameters.
setQueryParameter(String, String) - Method in class com.worklight.wlclient.api.WLResourceRequest
Sets the value of the specified query parameter to the provided value.
If no matching parameter is found, the parameter is added.
setQueryParameters(HashMap<String, String>) - Method in class com.worklight.wlclient.api.WLResourceRequest
Sets the query parameters of this resource.
setResourceChecksumPref(String) - Method in class com.worklight.common.WLConfig
 
setResponseListener(WLResponseListener) - Method in class com.worklight.wlclient.api.WLRequestOptions
 
setResponseText(String) - Method in class com.worklight.wlclient.api.WLResponse
 
setServerRelativeTime(long) - Method in class com.worklight.common.WLConfig
 
setServerUrl(String) - Method in class com.worklight.common.WLConfig
 
setServerUrl(URL) - Method in class com.worklight.wlclient.api.WLClient
Sets the MobileFirst Platform server URL to the specified URL
setSharedToken(String, byte[]) - Method in class com.worklight.common.WLSimpleDataSharing
Share key/value pair with other applications on the same device that have the same sharedUserId and signing key and properly set MobileFirst Platform configuration.
setSharedToken(String, String) - Method in class com.worklight.common.WLSimpleDataSharing
Share key/value pair with other applications on the same device that have the same sharedUserId and signing key and properly set MobileFirst Platform configuration.
setShowLogsInConsole(boolean) - Static method in class com.worklight.common.Logger
Global setting: turn persisting of log data passed to this class's log methods on or off.
setSSLSocketFactory(KeyStore, char[]) - Static method in class com.worklight.wlclient.HttpClientManager
 
setStatusText(String) - Method in class com.worklight.wlclient.api.WLResponse
 
setTextContentType(boolean) - Method in class com.worklight.wlclient.api.WLRequestOptions
 
setTimeout(int) - Method in class com.worklight.wlclient.api.WLRequestOptions
This method sets a new timeout.
setTimeout(int) - Method in class com.worklight.wlclient.api.WLResourceRequest
Sets the expiration period (timeout) for this resource request.
setUserAgentHeader(Request) - Static method in class com.worklight.wlclient.WLNativeAPIUtils
Add android native to user-agent
setUserContext(String) - Static method in class com.worklight.common.WLAnalytics
Specify current application user.
SHARED_PREF_KEY - Static variable in class com.worklight.common.Logger
 
SHARED_PREF_KEY - Static variable in class com.worklight.common.WLAnalytics
 
SHARED_PREF_KEY_CRASH_DETECTED - Static variable in class com.worklight.common.Logger
 
SHARED_PREF_KEY_filters - Static variable in class com.worklight.common.Logger
 
SHARED_PREF_KEY_filters_from_server - Static variable in class com.worklight.common.Logger
 
SHARED_PREF_KEY_level - Static variable in class com.worklight.common.Logger
 
SHARED_PREF_KEY_level_from_server - Static variable in class com.worklight.common.Logger
 
SHARED_PREF_KEY_logPersistence - Static variable in class com.worklight.common.Logger
 
SHARED_PREF_KEY_logPersistence_from_server - Static variable in class com.worklight.common.Logger
 
SHARED_PREF_KEY_USER_ID - Static variable in class com.worklight.common.WLAnalytics
 
shouldFailOnChallengeCancel() - Method in class com.worklight.wlclient.WLRequest
 
shouldRegister() - Method in class com.worklight.wlclient.auth.WLAuthorizationManagerInternal
Verifies the client application data, returns true if this client's data hasn't changed (such as app version) This determines is the client should be sent to registration or continue to authorization - note that new clients have no registered data so this will return true as designed
shouldUseCustomServerUrl() - Method in class com.worklight.common.WLConfig
 
signCsr(JSONObject, String) - Method in class com.worklight.common.security.WLCertManager
This method signs on a given content according to JWS standard (JSON Web Signature - http://datatracker.ietf.org/doc/draft-ietf-jose-json-web-signature/?include_text=1) We'll be using the public key We use the SHA256withRSA algorithm for creating the JWS header
signJWS(JSONObject, RSAPublicKey, PrivateKey, String) - Method in class com.worklight.common.security.WLCertManager
 
signJWS(JSONObject, KeyPair, String) - Method in class com.worklight.common.security.WLDeviceAuthManager
 
signJWS(JSONObject, KeyPair, String) - Method in class com.worklight.common.security.WLOAuthCertManager
 
signJWS(JSONObject, String) - Method in class com.worklight.common.security.WLOAuthCertManager
 
SO_BUFFER_SIZE - Static variable in class com.worklight.wlclient.fips.FipsHttpClient
 
SO_TIMEOUT - Static variable in class com.worklight.wlclient.fips.FipsHttpClient
 
SSL_CLIENT_AUTH - Static variable in interface com.worklight.wlclient.WLRequest.RequestPaths
 
STALE_CHECKING - Static variable in class com.worklight.wlclient.fips.FipsHttpClient
 
startHandleChallenge(WLRequest, T) - Method in class com.worklight.wlclient.api.challengehandler.BaseChallengeHandler
 
StringEncryption - Interface in com.worklight.utils
Interface for encrypting and decrypting strings Created by cirilla on 8/29/15.
submitAnswer(String, Object) - Method in class com.worklight.wlclient.WLRequest
 
submitChallengeAnswer(JSONObject) - Method in class com.worklight.wlclient.api.challengehandler.SecurityCheckChallengeHandler
Send the answer back to the request.

T

testWLServer(long, String, String) - Method in class com.worklight.wlclient.fips.MicroVPNLib
 
TLSEnabledSSLSocketFactory - Class in com.worklight.wlclient
This class implements an SSLSocketFactory that changes the default TLS protocols.
TLSEnabledSSLSocketFactory() - Constructor for class com.worklight.wlclient.TLSEnabledSSLSocketFactory
 
toJson() - Method in class com.worklight.wlclient.auth.JWT
 
toString() - Method in enum com.worklight.common.WLAnalytics.DeviceEvent
 
toString() - Method in class com.worklight.utils.Version
 
toString() - Method in class com.worklight.wlclient.api.WLFailResponse
 
toString() - Method in class com.worklight.wlclient.api.WLProcedureInvocationResult
Deprecated.
 
toString() - Method in class com.worklight.wlclient.api.WLResponse
 
toString() - Method in enum com.worklight.wlclient.RequestMethod
 
trace(String) - Method in class com.worklight.common.Logger
Log at TRACE level.
trace(String, JSONObject) - Method in class com.worklight.common.Logger
Log at TRACE level.
TRACE - Static variable in class com.worklight.wlclient.api.WLResourceRequest
String constant for the HTTP TRACE method.
triggerFeedbackMode() - Static method in class com.worklight.common.WLAnalytics
Method Triggers Inapp Feedback mode Triggers In app Feedback Mode and enabled the user to send the feedback to Bluemix Analytic console.

U

UIActivity - Class in com.worklight.wlclient.ui
Android Activity class that the IBM MobileFirst Platform platform uses to display UI (dialogs and such) in an Android environment.
This class is not exposed to developers, but they must add it to their AndroidManifest.xml file.
UIActivity() - Constructor for class com.worklight.wlclient.ui.UIActivity
 
unpack(InputStream, File) - Static method in class com.worklight.nativeandroid.common.WLUtils
 
unsetUserContext() - Static method in class com.worklight.common.WLAnalytics
Unset any user context previously set.
updateConfigFromServer() - Static method in class com.worklight.common.Logger
Get and apply the configuration from the IBM MobileFirst Platform Server.
UPLOAD_LOGS - Static variable in interface com.worklight.wlclient.WLRequest.RequestPaths
 
useCustomServerUrl(boolean) - Method in class com.worklight.common.WLConfig
 

V

valueOf(String) - Static method in enum com.worklight.common.Logger.LEVEL
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.worklight.common.WLAnalytics.DeviceEvent
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.worklight.wlclient.api.WLErrorCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.worklight.wlclient.api.WLLifecycleHelper.AppClosedBy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.worklight.wlclient.RequestMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.worklight.common.Logger.LEVEL
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.worklight.common.WLAnalytics.DeviceEvent
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.worklight.wlclient.api.WLErrorCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.worklight.wlclient.api.WLLifecycleHelper.AppClosedBy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.worklight.wlclient.RequestMethod
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class com.worklight.common.WLConfig
 
Version - Class in com.worklight.utils
 
Version(String) - Constructor for class com.worklight.utils.Version
 
VERSION_LABEL - Static variable in class com.worklight.wlclient.api.SecurityUtils
 

W

WAIT_LOCK - Static variable in class com.worklight.common.Logger
 
WAIT_LOCK - Static variable in class com.worklight.common.WLAnalytics
 
WAIT_LOCK - Static variable in class com.worklight.wlclient.api.WLClient
 
warn(String) - Method in class com.worklight.common.Logger
Log at WARN level.
warn(String, JSONObject) - Method in class com.worklight.common.Logger
Log at WARN level.
warn(String, JSONObject, Throwable) - Method in class com.worklight.common.Logger
Log at WARN level.
WARNING_TIME - Static variable in class com.worklight.wlclient.auth.ClockSyncChallengeHandler
 
WL_ACCESS_TOKEN_TYPE - Static variable in class com.worklight.wlclient.api.WLConstants
 
WL_APP_ID - Static variable in class com.worklight.common.WLConfig
 
WL_APP_VERSION - Static variable in class com.worklight.common.WLConfig
 
WL_CHALLENGE_DATA - Static variable in class com.worklight.nativeandroid.common.WLUtils
 
WL_CHALLENGE_RESPONSE_DATA - Static variable in class com.worklight.nativeandroid.common.WLUtils
 
WL_CLIENT_PROPS_NAME - Static variable in class com.worklight.common.WLConfig
 
WL_DEFAULT_ACCESS_TOKEN_SCOPE - Static variable in class com.worklight.wlclient.api.WLConstants
 
WL_DIRECT_UPDATE_TEMP_FOLDER - Static variable in class com.worklight.common.WLConfig
 
WL_ENABLE_REFRESH_TOKEN - Static variable in class com.worklight.common.WLConfig
 
WL_GCM_SENDER - Static variable in class com.worklight.common.WLConfig
 
WL_INSTANCE_AUTH_ID - Static variable in class com.worklight.nativeandroid.common.WLUtils
 
WL_INSTANCE_ID - Static variable in class com.worklight.wlclient.api.WLConstants
 
WL_PLATFORM_VERSION - Static variable in class com.worklight.common.WLConfig
 
WL_PREFS - Static variable in class com.worklight.nativeandroid.common.WLUtils
 
WL_SERVER_CONTEXT - Static variable in class com.worklight.common.WLConfig
 
WL_SERVER_HOST - Static variable in class com.worklight.common.WLConfig
 
WL_SERVER_PORT - Static variable in class com.worklight.common.WLConfig
 
WL_SERVER_PROTOCOL - Static variable in class com.worklight.common.WLConfig
 
WL_SERVER_URI - Static variable in class com.worklight.common.WLConfig
 
WL_SHARE_COOKIES - Static variable in class com.worklight.common.WLConfig
 
WL_SHARE_USER_CERT - Static variable in class com.worklight.common.WLConfig
 
WL_WEB_RESOURCES_UNPACKD_SIZE - Static variable in class com.worklight.common.WLConfig
 
WL_X_PLATFORM_VERSION - Static variable in class com.worklight.common.WLConfig
 
WL_X_VERSION_HEADER - Static variable in class com.worklight.common.WLConfig
 
WLAccessTokenListener - Interface in com.worklight.wlclient.api
This interface defines methods that the listener for the WLAuthorizationManager.obtainAccessToken(String, WLAccessTokenListener) method implements to receive notifications about the result of the method call.
WLAnalytics - Class in com.worklight.common
WLAnalytics means of persistently capturing analytics data and provides a method call to send captured data to the IBM MobileFirst Platform server, to be forwarded to the Operational Analytics engine.
WLAnalytics() - Constructor for class com.worklight.common.WLAnalytics
 
WLAnalytics.DeviceEvent - Enum in com.worklight.common
Set of device attribute changes WLAnalytics can register event listeners for.
WLAuthorizationException - Exception in com.worklight.wlclient.api
Signals failure during the authorization sequence.
WLAuthorizationException(WLFailResponse) - Constructor for exception com.worklight.wlclient.api.WLAuthorizationException
 
WLAuthorizationManager - Class in com.worklight.wlclient.api
This class manages the OAuth interaction between the client and the authorization server.
WLAuthorizationManagerInternal - Class in com.worklight.wlclient.auth
 
WLAuthQueue - Class in com.worklight.wlclient.auth
Created by yahavw on 12/29/15.
WLBase64 - Class in com.worklight.utils
This class implements Base64 encoding/decoding functionality as specified in RFC 2045 (http://www.ietf.org/rfc/rfc2045.txt).
WLBase64() - Constructor for class com.worklight.utils.WLBase64
 
WLCertManager - Class in com.worklight.common.security
Class that manages certificates on the specified keystore file.
WLClient - Class in com.worklight.wlclient.api
This singleton class exposes methods that you use to communicate with the MobileFirst Platform server.
WLClientInstanceIdListener - Interface in com.worklight.wlclient
 
WLClientInstanceRegistrationRequest - Class in com.worklight.wlclient
This class is used for the request to the client-instance registration endpoint.
WLClientInstanceRegistrationRequest(WLRequestListener, WLRequestOptions, WLConfig, Context) - Constructor for class com.worklight.wlclient.WLClientInstanceRegistrationRequest
 
WLConfig - Class in com.worklight.common
 
WLConstants - Class in com.worklight.wlclient.api
 
WLConstants() - Constructor for class com.worklight.wlclient.api.WLConstants
 
WLCookie - Class in com.worklight.wlclient.api
Created by michaeld on 24/11/15.
WLDeviceAuthManager - Class in com.worklight.common.security
This class provides Device Authentication functionality This class can be used as common class for native and hybrid with the exception that WLDroidGap should not be referenced here.
WLErrorCode - Enum in com.worklight.wlclient.api
An enumeration of error messages that arrive from the MobileFirst Platform Server.
WLFailResponse - Class in com.worklight.wlclient.api
This class extends WLResponse and contains the status in WLResponse, error codes, and messages.
WLFailResponse(Response) - Constructor for class com.worklight.wlclient.api.WLFailResponse
 
WLFailResponse(WLErrorCode, String, WLRequestOptions) - Constructor for class com.worklight.wlclient.api.WLFailResponse
 
WLHybridHttpListener - Interface in com.worklight.wlclient
 
WLLifecycleHelper - Class in com.worklight.wlclient.api
WLLifecycleHelper is a singleton used to help manage instrumentation of the android activity lifecycle.
WLLifecycleHelper.AppClosedBy - Enum in com.worklight.wlclient.api
Represents how an application was close - by the user or a crash
WLLoginResponseListener - Interface in com.worklight.wlclient.api
This interface defines methods that the listener for the WLAuthorizationManager.login(String, JSONObject, WLLoginResponseListener) method implements to receive notifications about the result of the method call.
WLLogoutResponseListener - Interface in com.worklight.wlclient.api
This interface defines methods that the listener for the WLAuthorizationManager.logout(String, WLLogoutResponseListener) method implements to receive notifications about the result of the method call.
WLNativeAPIUtils - Class in com.worklight.wlclient
 
WLNativeAPIUtils() - Constructor for class com.worklight.wlclient.WLNativeAPIUtils
 
WLOAuthCertManager - Class in com.worklight.common.security
This class provides Device Authentication functionality This class can be used as common class for native and hybrid with the exception that WLDroidGap should not be referenced here.
WLPersistentCookie - Class in com.worklight.wlclient.cookie
 
WLPersistentCookie() - Constructor for class com.worklight.wlclient.cookie.WLPersistentCookie
 
WLProcedureInvocationData - Class in com.worklight.wlclient.api
Deprecated.
Use WLResourceRequest API instead.
This class contains all necessary data to call a procedure, including:
  • The name of the adapter and procedure to call.
  • The parameters that the procedure requires.
WLProcedureInvocationData(String, String) - Constructor for class com.worklight.wlclient.api.WLProcedureInvocationData
Deprecated.
Create new WLProcedureInvocationData object to send with the request.
WLProcedureInvocationData(String, String, boolean) - Constructor for class com.worklight.wlclient.api.WLProcedureInvocationData
Deprecated.
Create new WLProcedureInvocationData object to send with the request.
WLProcedureInvocationFailResponse - Class in com.worklight.wlclient.api
This class extends WLFailResponse.
WLProcedureInvocationResponse - Class in com.worklight.wlclient.api
Deprecated.
As of MobileFirst v8.0, replaced by WLProcedureInvocationResult.
WLProcedureInvocationResponse(WLResponse) - Constructor for class com.worklight.wlclient.api.WLProcedureInvocationResponse
Deprecated.
WLProcedureInvocationResult - Class in com.worklight.wlclient.api
Deprecated.
Use WLResourceRequest API instead.
This class extends WLResponse. This class contains statuses and data that the adapter procedure retrieves.
WLProvisioningDelegate - Interface in com.worklight.common.security
 
WLRequest - Class in com.worklight.wlclient
 
WLRequest(WLRequestListener, WLRequestOptions, WLConfig, Context) - Constructor for class com.worklight.wlclient.WLRequest
 
WLRequest(WLRequestListener, WLRequestOptions, WLConfig, Context, boolean) - Constructor for class com.worklight.wlclient.WLRequest
 
WLRequest.RequestPaths - Interface in com.worklight.wlclient
 
WLRequestListener - Interface in com.worklight.wlclient
 
WLRequestOptions - Class in com.worklight.wlclient.api
This class changes the timeout and invocation context.
WLRequestOptions() - Constructor for class com.worklight.wlclient.api.WLRequestOptions
 
WLRequestPiggybacker - Interface in com.worklight.wlclient
Base piggybacker class; note that as part of clean-up the processOptions also receives the requestPath, this differentiates from the javascript
WLResourceRequest - Class in com.worklight.wlclient.api
This class encapsulates a resource request.
WLResourceRequest(URI, String) - Constructor for class com.worklight.wlclient.api.WLResourceRequest
Constructs a new resource request with the specified URL, using the specified HTTP method.
WLResourceRequest(URI, String, String) - Constructor for class com.worklight.wlclient.api.WLResourceRequest
Constructs a new resource request with the specified URL and protecting scope, using the specified HTTP method.
WLResourceRequest(URI, String, int) - Constructor for class com.worklight.wlclient.api.WLResourceRequest
Constructs a new resource request with the specified URL, using the specified HTTP method.
Additionally this constructor sets a custom expiration period (timeout) for the request.
WLResourceRequest(URI, String, int, String) - Constructor for class com.worklight.wlclient.api.WLResourceRequest
Constructs a new resource request with the specified URL and protecting scope, using the specified HTTP method.
WLResourceRequest(URI, String, String, int) - Constructor for class com.worklight.wlclient.api.WLResourceRequest
Constructs a new resource request with the specified URL, using the specified HTTP method.
WLResponse - Class in com.worklight.wlclient.api
This class contains the result of a procedure invocation.
WLResponse(Response) - Constructor for class com.worklight.wlclient.api.WLResponse
 
WLResponseListener - Interface in com.worklight.wlclient.api
This interface defines methods that the listener for the WLClient and GatewayChallengeHandler.
WLSimpleDataSharing - Class in com.worklight.common
A simple class allowing for sharing and retrieval of shared data among applications on the same device having the same shared user identifier (sharedUserId) and same application signing key.
WLSimpleDataSharing(Context) - Constructor for class com.worklight.common.WLSimpleDataSharing
 
WLUtils - Class in com.worklight.nativeandroid.common
WLDroidGap should not be referenced here as this class is used for native android as well.
WLUtils() - Constructor for class com.worklight.nativeandroid.common.WLUtils
 
writeLongWLPref(String, long) - Method in class com.worklight.common.WLConfig
 
writePref(String, String, String) - Method in class com.worklight.common.WLConfig
 
writePrefEncrypted(String, String, String) - Method in class com.worklight.common.WLConfig
 
writeSecurityPref(String, String) - Method in class com.worklight.common.WLConfig
 
writeSecurityTokenPref(String, String) - Method in class com.worklight.common.WLConfig
 
writeWLPref(String, String) - Method in class com.worklight.common.WLConfig
 
writeWLPrefEncrypted(String, String) - Method in class com.worklight.common.WLConfig
 
WWW - Static variable in class com.worklight.nativeandroid.common.WLUtils
 
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links