return handleRequest(request);
}
}
private HttpResponse handleRequest(HttpRequest request) throws IOException {
Request requestWrapper = new HttpRequestAdapter(request);
Response responseWrapper = handlerChain.handle(requestWrapper);
HttpResponse response = new BasicHttpResponse(
HTTP_1_1,
responseWrapper.getStatus(),