133134135136137138139140141142143
return result; } catch (InterruptedException x) { // If the application interrupts, we need to abort the redirect redirect.abort(x); throw x; } } /**
294295296297298299300301302303304
@Override public void onBegin(Request redirect) { Throwable cause = request.getAbortCause(); if (cause != null) redirect.abort(cause); } }); redirect.send(listener); return redirect;
306307308309310311312313314315316
@Override public void onBegin(Request redirect) { Throwable cause = httpRequest.getAbortCause(); if (cause != null) redirect.abort(cause); } }); redirect.send(listener); return redirect;