future.setPendingResponse(response);
} else if (e instanceof LastHttpContent) {
HttpResponse response = future.getPendingResponse();
future.setPendingResponse(null);
HttpResponseStatus status = new NettyResponseStatus(future.getUri(), config, response);
HttpResponseHeaders responseHeaders = new NettyResponseHeaders(response.headers());
if (exitAfterProcessingFilters(channel, future, handler, status, responseHeaders)) {
return;
}