master
AsyncHttpClient client = new DefaultAsyncHttpClient(); client.prepare("GET", "http://mockbin.com/har") .execute() .toCompletableFuture() .thenAccept(System.out::println) .join(); client.close();