public class

BasicHTTPDownloadTask

extends CustomAsyncTask<Params, Progress, Result>
java.lang.Object
   ↳ android.os.AsyncTask<Params, Progress, Result>
     ↳ com.pdftron.pdf.utils.CustomAsyncTask<Params, Progress, Result>
       ↳ com.pdftron.pdf.utils.BasicHTTPDownloadTask

Class Overview

An async task for basic HTTP downloading

Summary

Nested Classes
interface BasicHTTPDownloadTask.BasicHTTPDownloadTaskListener Callback interface to be invoked when basic HTTP download is finished. 
[Expand]
Inherited Fields
From class android.os.AsyncTask
Public Constructors
BasicHTTPDownloadTask(Context context, BasicHTTPDownloadTask.BasicHTTPDownloadTaskListener listener, String url, File saveFile)
BasicHTTPDownloadTask(Context context, BasicHTTPDownloadTask.BasicHTTPDownloadTaskListener listener, String url, JSONObject customHeaders, File saveFile)
[Expand]
Inherited Methods
From class android.os.AsyncTask
From class java.lang.Object

Public Constructors

public BasicHTTPDownloadTask (Context context, BasicHTTPDownloadTask.BasicHTTPDownloadTaskListener listener, String url, File saveFile)

Parameters
context The context
listener HTTP download task listener
url Source URL to download
saveFile The file where it save to

public BasicHTTPDownloadTask (Context context, BasicHTTPDownloadTask.BasicHTTPDownloadTaskListener listener, String url, JSONObject customHeaders, File saveFile)

Parameters
context The context
listener HTTP download task listener
url Source URL to download
customHeaders Custom request headers
saveFile The file where it save to