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

I

ILLEGAL_ARGUMENT_EXCEPTION - Static variable in class com.worklight.wlclient.api.WLErrorCode
 
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.
INFO - Static variable in class com.worklight.common.Logger.LEVEL
 
init(Application) - Static method in class com.worklight.common.WLAnalytics
Initialize WLAnalytics API.
init(Context) - Static method in class com.worklight.wlclient.api.WLLifecycleHelper
 
initializeWebFramework(Context, WLInitWebFrameworkListener) - Method in class com.worklight.androidgap.api.WL
Initializes the IBM MobileFirst Platform
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, WLResponseListener.onSuccess(WLResponse) is called. If it fails, WLResponseListener.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);
 
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.
isCacheableRequest() - Method in class com.worklight.wlclient.api.WLProcedureInvocationData
Deprecated.
This method is for internal use only.
isCompressResponse() - Method in class com.worklight.wlclient.api.WLProcedureInvocationData
Deprecated.
 
isSecure() - Method in class com.worklight.wlclient.api.WLCookie
 
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
 
A B C D E F G H I J L M N O P R S T U V W 


© Copyright IBM Corp. 2006, 2015. All Rights Reserved.