### Question:
HttpAsyncClientFactory implements HttpFactory { @Override public CompletableFuture<String> patch(RequestContext requestContext) { requestContext.setMethod(RequestMethod.PATCH); HttpRequestBase request = buildRequest(requestContext); HttpClientCallback callback = new HttpClientCallback(); asyncHttpClient.execute(request, callback); return callback; } 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 testPatch() { RequestContext requestContext = new RequestContext(baseUrl + "demo/patch"); setRequestBody(requestContext); CompletableFuture<String> result = HttpFactory.httpAsyncClientFactory.patch(requestContext); result.whenComplete((r, e) -> { System.out.println("结果：" + r); if (e != null) { e.printStackTrace(); } }); }