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

- Packages that use RedirectStrategy
  软件包 | 描述
  --- | ---
  org.apache.http.impl.client | 默认HTTP客户端实现。
  org.apache.http.impl.execchain | HTTP请求执行链API。

- - ### 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` 默认执行`RedirectStrategy` 。
    `class` | `LaxRedirectStrategy` Lax `RedirectStrategy`实现自动重定向所有HEAD，GET，POST和DELETE请求。

    Fields in org.apache.http.impl.client declared as RedirectStrategy
    Modifier and Type | Field and Description
    --- | ---
    `protected RedirectStrategy` | DefaultRequestDirector.`redirectStrategy` 已过时。 重定向策略。

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

    Methods in org.apache.http.impl.client with parameters of type RedirectStrategy
    Modifier and Type | Method and Description
    --- | ---
    `protected RequestDirector` | AbstractHttpClient.`createClientRequestDirector(HttpRequestExecutor requestExec, ClientConnectionManager conman, ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectStrategy redirectStrategy, AuthenticationHandler targetAuthHandler, AuthenticationHandler proxyAuthHandler, UserTokenHandler userTokenHandler, HttpParams params)` 已过时。 （4.2）不要使用
    `protected RequestDirector` | AbstractHttpClient.`createClientRequestDirector(HttpRequestExecutor requestExec, ClientConnectionManager conman, ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectStrategy redirectStrategy, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler, HttpParams params)` 已过时。
    `void` | AbstractHttpClient.`setRedirectStrategy(RedirectStrategy strategy)` 已过时。
    `HttpClientBuilder` | HttpClientBuilder.`setRedirectStrategy(RedirectStrategy redirectStrategy)` 分配`RedirectStrategy`实例。

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

  - ### 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–2017 The Apache Software Foundation. All rights reserved.

本帮助文档是使用 《谷歌翻译》翻译，请与英文版配合使用 by--QQ:654638585