public final HttpClientBuilder disableRedirectHandling() {
        redirectHandlingDisabled = true;
        return this;
    }
Disables automatic redirect handling.

@return this instance.
httpclient5/src/main/java/org/apache/hc/client5/http/impl/classic/HttpClientBuilder.java