@Override
public void onFailure(final Throwable t) {
if (t instanceof CancellationException) {
// take care of future cancellation
jettyRequest.abort(t);
}
}
});
final AtomicReference<ClientResponse> jerseyResponse = new AtomicReference<ClientResponse>();
final ByteBufferInputStream entityStream = new ByteBufferInputStream();