4748495051525354555657
this.timer = new Timer() { @Override public void run() { if (callback != null) { CrossDomainRequest.this.cancel(); callback.onFailure(new TimeoutException()); } } }; timer.schedule(timeoutMillis); }