}
public Cancellable handle(final HttpRequest request, final HttpAsyncResponseTrigger trigger,
final HttpContext context) throws HttpException, IOException {
ProtocolVersion ver = request.getRequestLine().getProtocolVersion();
if (!ver.lessEquals(HttpVersion.HTTP_1_1)) {
ver = HttpVersion.HTTP_1_1;
}
HttpResponse response = this.responseFactory.newHttpResponse(ver, HttpStatus.SC_OK, context);
this.handler.handle(request, response, context);
trigger.submitResponse(new BasicAsyncResponseProducer(response));