private static class OkHttp3AsyncClientHttpRequest.OkHttpListenableFuture extends SettableListenableFuture<ClientHttpResponse>
Modifier and Type | Field and Description |
---|---|
private Call |
call |
Constructor and Description |
---|
OkHttpListenableFuture(Call call) |
Modifier and Type | Method and Description |
---|---|
protected void |
interruptTask()
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>