所有方法 实例方法 具体方法
| 限定符和类型 |
方法和说明 |
<V> TaskExecutor.Data<V> |
doMsgConvert(String type,
TaskExecutor.ConvertFunc<V> callable) |
<V> V |
doMsgConvert(TaskExecutor.ConvertFunc<V> callable) |
Download |
download(HttpTask<?> httpTask,
File file,
InputStream input,
long skipBytes) |
void |
execute(Runnable command,
boolean onIo) |
void |
executeOnComplete(HttpTask<?> task,
Consumer<HttpResult.State> onComplete,
HttpResult.State state,
boolean onIo) |
boolean |
executeOnException(HttpTask<?> task,
AHttpTask.OkHttpCall call,
Consumer<IOException> onException,
IOException error,
boolean onIo) |
void |
executeOnResponse(HttpTask<?> task,
AHttpTask.OkHttpCall call,
Consumer<HttpResult> onResponse,
HttpResult result,
boolean onIo) |
TaskListener<HttpResult.State> |
getCompleteListener() |
String[] |
getContentTypes() |
DownListener |
getDownloadListener() |
TaskListener<IOException> |
getExceptionListener() |
Executor |
getExecutor(boolean onIo) |
Executor |
getIoExecutor() |
Executor |
getMainExecutor() |
MsgConvertor[] |
getMsgConvertors() |
TaskListener<HttpResult> |
getResponseListener() |
Scheduler |
getTaskScheduler() |
boolean |
isMulitMsgConvertor() |
Scheduler |
requireScheduler() |
void |
shutdown()
关闭线程池
|