public interface Request
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel this request.
|
boolean |
isCancelled()
Test if this request has been cancelled.
|
boolean |
isFinished()
Test if this request is still running.
|
void cancel()
WARNING: Cancelling a request may or may not cancel the underlying network call, depending how late the cancellation happens. In other words, a cancelled request may have already been executed by the server. In any case, cancelling never carries "undo" semantics.
boolean isFinished()
boolean isCancelled()