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

- Packages that use AuthenticationStrategy
  软件包 | 描述
  --- | ---
  org.apache.http.impl.auth | 标准和常规HTTP认证方案的默认实现。
  org.apache.http.impl.client | 默认HTTP客户端实现。
  org.apache.http.impl.execchain | HTTP请求执行链API。

- - ### Uses of AuthenticationStrategy in org.apache.http.impl.auth

    Methods in org.apache.http.impl.auth with parameters of type AuthenticationStrategy
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | HttpAuthenticator.`handleAuthChallenge(HttpHost host, HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, HttpContext context)`
    `boolean` | HttpAuthenticator.`isAuthenticationRequested(HttpHost host, HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, HttpContext context)`

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

    Classes in org.apache.http.impl.client that implement AuthenticationStrategy
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ProxyAuthenticationStrategy` 默认`AuthenticationStrategy`代理主机身份验证。
    `class` | `TargetAuthenticationStrategy` 默认`AuthenticationStrategy`代理主机身份验证。

    Fields in org.apache.http.impl.client declared as AuthenticationStrategy
    Modifier and Type | Field and Description
    --- | ---
    `protected AuthenticationStrategy` | DefaultRequestDirector.`proxyAuthStrategy` 已过时。 代理身份验证处理程序。
    `protected AuthenticationStrategy` | DefaultRequestDirector.`targetAuthStrategy` 已过时。 目标身份验证处理程序。

    Methods in org.apache.http.impl.client that return AuthenticationStrategy
    Modifier and Type | Method and Description
    --- | ---
    `protected AuthenticationStrategy` | AbstractHttpClient.`createProxyAuthenticationStrategy()` 已过时。
    `protected AuthenticationStrategy` | AbstractHttpClient.`createTargetAuthenticationStrategy()` 已过时。
    `AuthenticationStrategy` | AbstractHttpClient.`getProxyAuthenticationStrategy()` 已过时。
    `AuthenticationStrategy` | AbstractHttpClient.`getTargetAuthenticationStrategy()` 已过时。

    Methods in org.apache.http.impl.client with parameters of type AuthenticationStrategy
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | HttpAuthenticator.`authenticate(HttpHost host, HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, HttpContext context)` 已过时。
    `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)` 已过时。
    `protected ClientExecChain` | HttpClientBuilder.`createMainExec(HttpRequestExecutor requestExec, HttpClientConnectionManager connManager, ConnectionReuseStrategy reuseStrategy, ConnectionKeepAliveStrategy keepAliveStrategy, HttpProcessor proxyHttpProcessor, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler)` 生成一个`ClientExecChain`的实例作为主要的exec。
    `void` | AbstractHttpClient.`setProxyAuthenticationStrategy(AuthenticationStrategy strategy)` 已过时。
    `HttpClientBuilder` | HttpClientBuilder.`setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)` 为代理身份验证分配`AuthenticationStrategy`实例。
    `void` | AbstractHttpClient.`setTargetAuthenticationStrategy(AuthenticationStrategy strategy)` 已过时。
    `HttpClientBuilder` | HttpClientBuilder.`setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)` 为目标主机身份验证分配`AuthenticationStrategy`实例。

    Constructors in org.apache.http.impl.client with parameters of type AuthenticationStrategy
    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, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler, HttpParams params)` 已过时。

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

    Constructors in org.apache.http.impl.execchain with parameters of type AuthenticationStrategy
    Constructor and Description
    `MainClientExec(HttpRequestExecutor requestExecutor, HttpClientConnectionManager connManager, ConnectionReuseStrategy reuseStrategy, ConnectionKeepAliveStrategy keepAliveStrategy, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler)`
    `MainClientExec(HttpRequestExecutor requestExecutor, HttpClientConnectionManager connManager, ConnectionReuseStrategy reuseStrategy, ConnectionKeepAliveStrategy keepAliveStrategy, HttpProcessor proxyHttpProcessor, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler)`

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

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