@Override
                    public void process(
                            final HttpRequest request,
                            final EntityDetails entity,
                            final HttpContext context) {
                        request.setHeader("request-id", Long.toString(count.incrementAndGet()));
                    }
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/ClientInterceptors.java