@Override
        public RedirectLocations getRedirectLocations() {
            RedirectLocations redirectLocations = getAttr(REDIRECT_LOCATIONS, RedirectLocations.class);
            if (redirectLocations == null) {
                redirectLocations = new RedirectLocations();
                httpContext.setAttribute(REDIRECT_LOCATIONS, redirectLocations);
            }
            return redirectLocations;
        }
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