@Override
                        public void cancelled() {
                            System.out.println(request + " cancelled");
                        }
Example of asynchronous HTTP/1.1 request execution.
httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientHttpExchange.java