public final class HTTPRequestService
extends RequestService
HTTPRequestManager
through the Intent
system. It
simply creates an Operation
based on the type of Request
, and then leverages
DataDriod to work the request. Currently allows 3 concurrent requests. Uses
OperationManager
to create an operation of the correct type so Operation
implementations may reside in tools/plugins where they are usedModifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
HTTPRequestService() |
Modifier and Type | Method and Description |
---|---|
protected int |
getMaximumNumberOfThreads() |
Operation |
getOperationForType(int requestType) |
void |
onCreate() |
void |
onDestroy() |
int |
onStartCommand(android.content.Intent intent,
int flags,
int startId) |
public static final java.lang.String TAG
public void onCreate()
public int onStartCommand(android.content.Intent intent, int flags, int startId)
public void onDestroy()
protected int getMaximumNumberOfThreads()
public Operation getOperationForType(int requestType)