addRequest(IRequest) method

Adds a request to the storage.

Syntax

public void addRequest (IRequest request)

Parameters

Returns

None

Remarks

NOTE! Request priority ( com.sap.mobile.com.sap.mobile.lib.request.Request.IRequest#setPriority(int) ) is ignored during request processing! Because requests are processed in the order they are added to the bundle, the order is considered to handle the priority.

Example 1

BundleRequest bundleRequest = new BundleRequest(); BaseRequest request1 = new BaseRequest(); BaseRequest request2 = new BaseRequest(); bundleRequest.addRequest(request1); bundleRequest.addRequest(request2);