final HttpRequest request,
final HttpAsyncExchange httpExchange,
final HttpContext context) throws HttpException, IOException {
final HttpConnection conn = (HttpConnection) context.getAttribute(
HttpCoreContext.HTTP_CONNECTION);
conn.shutdown();
final HttpResponse response = httpExchange.getResponse();
response.setEntity(new NStringEntity("all is well", ContentType.TEXT_PLAIN));
httpExchange.submitResponse();
}