return true;
}
};
IServer server = new Server(dh);
server.start();
HttpClientConnectionPool pool = new HttpClientConnectionPool();
HttpClientConnection httpCon = pool.getHttpClientConnection("localhost", server.getLocalPort());
IHttpResponse resp = httpCon.call(new GetRequest("http://localhost:" + server.getLocalPort() + "/"));