Consists of the methods used to perform requests.
com.sap.mobile.lib.request
public class RequestManager implements IRequestManager, IPreferenceChangeListener
All members of RequestManager, including inherited members.
Nested classesModifier and Type | Class | Description |
---|---|---|
publicclass | AuthenticationChallengeListener | The listener to register for authentication failure event. |
publicclass | MutualSSLChallengeListener | Listener to set call back so that application can accept or reject the client certificate. |
publicclass | SSLChallengeListener | Listener to set call back so that application can accept or reject the server certificate. |
Modifier and Type | Variable | Description |
---|---|---|
public static final int | MAX_THREADS | |
public static AuthenticationChallengeListener | authenticationListener | |
protected static final String | TAG | |
protected static ILogger | mLogger | |
protected IConnectionHandler[] | mMainHandler | |
protected Vector< Object > | mQueue | |
protected Vector< IRequest > | mHQueue | |
protected String | mMainHandlerClassName | |
protected boolean | mPassportEnabled | |
protected Vector< IRequest > | modifyingRequestQueue | |
protected boolean | isPerformanceLoggingEnabled | |
protected SuccessThread | successNotifier | Success notification worker instance. |
Modifier and Type | Constructor | Description |
---|---|---|
public | RequestManager(ILogger, IPreferences, IConnectivityParameters, int) | Instantiates the RequestManager class. |
Modifier and Type | Method | Description |
---|---|---|
public void | clearPendingRequests(ILogger, Context) | Clears all the persisted requests from database. |
public void | enablePerformanceLogging() | Enables performance logging for Core Services. |
public IConnectivityParameters | getConnectivityParameters() | Returns the ConnectivityParameters object containing the settings used by the Request library. |
public ILogger | getLogger() | |
public boolean | isPerformanceLoggingEnabled() | Returns whether the Performance Logging is enabled or not. |
public void | makeRequest(final IRequest) | Puts a request object into the RequestManager object. |
public void | makeRequest(final IBundleRequest) | Puts a bundle request object into the RequestManager object. |
public static void | setAuthenticationChallengeListener(IAuthenticationChallengeListner) | Sets the authentication challenge listener so that application is notified upon authentication failure. |
public void | setListener(INetListener) | Sets the listener for receiving success/failure call backs upon invoking a request. |
public void | setMutualSSLChallengeListener(IMutualSSLChallengeListener) | Sets the call back for the application to accept or reject the client certificate. |
public void | setSSLChallengeListener(ISSLChallengeListener) | Error notification worker. |
This is the primary interface using which any kind of request could be performed.