@Deprecated private static class OkHttpAsyncClientHttpRequest.OkHttpListenableFuture extends SettableListenableFuture<ClientHttpResponse>
Modifier and Type | Field and Description |
---|---|
private Call |
call
Deprecated.
|
Constructor and Description |
---|
OkHttpListenableFuture(Call call)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
interruptTask()
Deprecated.
Subclasses can override this method to implement interruption of the future's
computation.
|
addCallback, addCallback, cancel, get, get, isCancelled, isDone, set, setException
protected void interruptTask()
SettableListenableFuture
cancel(true)
.
The default implementation is empty.
interruptTask
in class SettableListenableFuture<ClientHttpResponse>