我RequestBuilder
用来超时的 GWT 请求需要太长时间:
RequestBuilder requestBuilder = _service.getStatistics(callback);
requestBuilder.setTimeoutMillis(5000);
try {
requestBuilder.send();
} catch (RequestException e) {
GWT.getUncaughtExceptionHandler().onUncaughtException(e);
}
有没有办法通知调用的远程服务调用在客户端超时并且应该被取消?