private void cancelPendingSummaryRequest() { summary = null; if (summaryRequest != null && summaryRequest.isPending()) { summaryRequest.cancel(); summaryRequest = null; } }
private boolean hasSummaryOrPendingRequest() { return summary != null || summaryRequest != null && summaryRequest.isPending(); }
public void onCancel() { if ((currHttpRequest != null) && (currHttpRequest.isPending())) { currHttpRequest.cancel(); Window.alert("Cancelling RPC"); } }
@Override public boolean isPending() { return delegate != null ? delegate.isPending() : false; }