@Override
                        public void failed(final Exception ex) {
                            System.out.println(request + "->" + ex);
                        }
This example demonstrates how to insert custom request interceptor and an execution interceptor
to the request execution chain.
httpclient5/src/test/java/org/apache/hc/client5/http/examples/AsyncClientInterceptors.java