Header h = request.getFirstHeader(HTTP.CONTENT_TYPE);
String contentType = null;
if (h != null) {
contentType = h.getValue();
}
HttpNIOEntity entity = new FileNIOEntity(connState.getInputFile(), contentType);
eeRequest.setEntity(entity);
}
ProtocolVersion ver = request.getRequestLine().getProtocolVersion();
HttpResponse response = this.responseFactory.newHttpResponse(ver, 200, context);