类 OkHttp3ResponseFuture
java.lang.Object
com.dtflys.forest.backend.okhttp3.response.OkHttp3ResponseFuture
- 从以下版本开始:
- 2018-02-28 18:10
- 作者:
- gongjun[jun.gong@thebeastshop.com]
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
OkHttp3ResponseFuture
public OkHttp3ResponseFuture()
-
-
方法详细资料
-
isCancelled
public boolean isCancelled()- 指定者:
isCancelled在接口中Future<Object>
-
isDone
public boolean isDone() -
get
- 指定者:
get在接口中Future<Object>- 抛出:
InterruptedExceptionExecutionException
-
get
public Object get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - 指定者:
get在接口中Future<Object>- 抛出:
InterruptedExceptionExecutionExceptionTimeoutException
-
completed
-
failed
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
cancel
public boolean cancel()
-