@Override
        public Map<HttpHost, AuthExchange> getAuthExchanges() {
            Map<HttpHost, AuthExchange> map = getAttr(AUTH_EXCHANGE_MAP, Map.class);
            if (map == null) {
                map = new HashMap<>();
                httpContext.setAttribute(AUTH_EXCHANGE_MAP, map);
            }
            return map;
        }
Internal adaptor class that delegates all its method calls to a plain {@link HttpContext}.
To be removed in the future.
httpclient5/src/main/java/org/apache/hc/client5/http/protocol/HttpClientContext.java