public class RequestManager extends Object
Modifier and Type | Method and Description |
---|---|
protected void |
addDownloadedURLRequest(URLRequest request,
String filePath)
Adds an URL to the table of downloaded files for further uses.
|
URLRetrieveTask |
addURLRequest(URLRequest request,
RetrieveListener listener) |
static RequestManager |
getInstance() |
void |
removeURLRequest(URLRequest request)
Remove an URL from the system cache.
|
public static RequestManager getInstance()
public URLRetrieveTask addURLRequest(URLRequest request, RetrieveListener listener)
public void removeURLRequest(URLRequest request)
request
- protected void addDownloadedURLRequest(URLRequest request, String filePath)
url
- filePath
-