I'm using RequestBuilder
to time out GWT requests which take too long:
RequestBuilder requestBuilder = _service.getStatistics(callback);
requestBuilder.setTimeoutMillis(5000);
try {
requestBuilder.send();
} catch (RequestException e) {
GWT.getUncaughtExceptionHandler().onUncaughtException(e);
}
Is there a way of notifying the invoked remote service that the call has timeout out on the client and that it should be cancelled?