@Override
                    public void cancelled() {
                        System.out.println(request + " cancelled");
                    }
A simple example that uses HttpClient to execute an HTTP request against
a target site that requires user authentication.
httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientAuthentication.java