public RedirectLocations getRedirectLocations() {
        if (this.redirectLocations == null) {
            this.redirectLocations = new RedirectLocations();
        }
        return this.redirectLocations;
    }
Represents a collection of all redirects executed in the context of request execution.
<p>
This context attribute is expected to be populated by the protocol handler.
httpclient5/src/main/java/org/apache/hc/client5/http/protocol/HttpClientContext.java