HttpRequest jettyRequest = buildJettyRequest(request);
final JettyResponseFuture<T, E> future = new JettyResponseFuture<>(request, jettyRequest, responseHandler, stats);
BufferingResponseListener listener = new BufferingResponseListener(Ints.checkedCast(new DataSize(10, Unit.MEGABYTE).toBytes()))
{
@Override
public void onComplete(Result result)
{
Throwable throwable = result.getFailure();