### Question:
HttpAsyncClientFactory implements HttpFactory { @Override public CompletableFuture<String> get(RequestContext requestContext) { requestContext.setMethod(RequestMethod.GET); HttpRequestBase request = buildRequest(requestContext); HttpClientCallback future = new HttpClientCallback(); asyncHttpClient.execute(request, future); return future; } HttpAsyncClientFactory();  HttpAsyncClientFactory(PoolingNHttpClientConnectionManager connectionManager); @Override CompletableFuture<String> get(RequestContext requestContext); @Override CompletableFuture<String> post(RequestContext requestContext); @Override CompletableFuture<String> put(RequestContext requestContext); @Override CompletableFuture<String> patch(RequestContext requestContext); @Override CompletableFuture<String> delete(RequestContext requestContext);  }### Answer:
@Test public void testGet() { RequestContext requestContext = new RequestContext(baseUrl + "demo/get"); int i = 0; while (i++ < 10) { CompletableFuture<String> result = HttpFactory.httpAsyncClientFactory.get(requestContext); result.whenComplete((r, e) -> { System.out.println(Thread.currentThread().getName() + "-结果：" + r); if (e != null) { e.printStackTrace(); } }); } }