private static class OkHttpClientHttpRequest.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, setExceptionprotected void interruptTask()
SettableListenableFuturecancel(true).
The default implementation does nothing.
interruptTask in class SettableListenableFuture<ClientHttpResponse>