## Uses of Interface
org.apache.http.client.RedirectStrategy

- Packages that use RedirectStrategy
  Package | Description
  --- | ---
  org.apache.http.impl.client | Default HTTP client implementation.
  org.apache.http.impl.execchain | HTTP request execution chain APIs.

- - ### Uses of RedirectStrategy in org.apache.http.impl.client

    Classes in org.apache.http.impl.client that implement RedirectStrategy
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultRedirectStrategy` Default implementation of `RedirectStrategy`.
    `class` | `LaxRedirectStrategy` Lax `RedirectStrategy` implementation that automatically redirects all HEAD, GET, POST, and DELETE requests.

    Fields in org.apache.http.impl.client declared as RedirectStrategy
    Modifier and Type | Field and Description
    --- | ---
    `protected RedirectStrategy` | DefaultRequestDirector.`redirectStrategy` Deprecated. The redirect strategy.

    Methods in org.apache.http.impl.client that return RedirectStrategy
    Modifier and Type | Method and Description
    --- | ---
    `RedirectStrategy` | AbstractHttpClient.`getRedirectStrategy()` Deprecated.

    Methods in org.apache.http.impl.client with parameters of type RedirectStrategy
    Modifier and Type | Method and Description
    --- | ---
    `protected RequestDirector` | AbstractHttpClient.`createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec, ClientConnectionManager conman, org.apache.http.ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, org.apache.http.protocol.HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectStrategy redirectStrategy, AuthenticationHandler targetAuthHandler, AuthenticationHandler proxyAuthHandler, UserTokenHandler userTokenHandler, org.apache.http.params.HttpParams params)` Deprecated. (4.2) do not use
    `protected RequestDirector` | AbstractHttpClient.`createClientRequestDirector(org.apache.http.protocol.HttpRequestExecutor requestExec, ClientConnectionManager conman, org.apache.http.ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, org.apache.http.protocol.HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectStrategy redirectStrategy, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler, org.apache.http.params.HttpParams params)` Deprecated.
    `HttpClientBuilder` | HttpClientBuilder.`setRedirectStrategy(RedirectStrategy redirectStrategy)` Assigns `RedirectStrategy` instance.
    `void` | AbstractHttpClient.`setRedirectStrategy(RedirectStrategy strategy)` Deprecated.

    Constructors in org.apache.http.impl.client with parameters of type RedirectStrategy
    Constructor and Description
    `DefaultRequestDirector(org.apache.commons.logging.Log log, org.apache.http.protocol.HttpRequestExecutor requestExec, ClientConnectionManager conman, org.apache.http.ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, org.apache.http.protocol.HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectStrategy redirectStrategy, AuthenticationHandler targetAuthHandler, AuthenticationHandler proxyAuthHandler, UserTokenHandler userTokenHandler, org.apache.http.params.HttpParams params)` Deprecated.
    `DefaultRequestDirector(org.apache.commons.logging.Log log, org.apache.http.protocol.HttpRequestExecutor requestExec, ClientConnectionManager conman, org.apache.http.ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, org.apache.http.protocol.HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectStrategy redirectStrategy, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler, org.apache.http.params.HttpParams params)` Deprecated.

  - ### Uses of RedirectStrategy in org.apache.http.impl.execchain

    Constructors in org.apache.http.impl.execchain with parameters of type RedirectStrategy
    Constructor and Description
    `RedirectExec(ClientExecChain requestExecutor, HttpRoutePlanner routePlanner, RedirectStrategy redirectStrategy)`

Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.