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

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

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

    Classes in org.apache.http.impl.client that implement UserTokenHandler
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultUserTokenHandler` 默认执行`UserTokenHandler` 。
    `class` | `NoopUserTokenHandler` Noop执行`UserTokenHandler`总是返回`null` 。

    Fields in org.apache.http.impl.client declared as UserTokenHandler
    Modifier and Type | Field and Description
    --- | ---
    `protected UserTokenHandler` | DefaultRequestDirector.`userTokenHandler` 已过时。 用户令牌处理程序。

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

    Methods in org.apache.http.impl.client with parameters of type UserTokenHandler
    Modifier and Type | Method and Description
    --- | ---
    `protected RequestDirector` | AbstractHttpClient.`createClientRequestDirector(HttpRequestExecutor requestExec, ClientConnectionManager conman, ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectHandler redirectHandler, AuthenticationHandler targetAuthHandler, AuthenticationHandler proxyAuthHandler, UserTokenHandler userTokenHandler, HttpParams params)` 已过时。 （4.1）不要使用
    `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)` 已过时。
    `protected ClientExecChain` | HttpClientBuilder.`createMainExec(HttpRequestExecutor requestExec, HttpClientConnectionManager connManager, ConnectionReuseStrategy reuseStrategy, ConnectionKeepAliveStrategy keepAliveStrategy, HttpProcessor proxyHttpProcessor, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler)` 生成一个`ClientExecChain`的实例，用作主要的exec。
    `void` | AbstractHttpClient.`setUserTokenHandler(UserTokenHandler handler)` 已过时。
    `HttpClientBuilder` | HttpClientBuilder.`setUserTokenHandler(UserTokenHandler userTokenHandler)` 分配`UserTokenHandler`实例。

    Constructors in org.apache.http.impl.client with parameters of type UserTokenHandler
    Constructor and Description
    `DefaultRequestDirector(HttpRequestExecutor requestExec, ClientConnectionManager conman, ConnectionReuseStrategy reustrat, ConnectionKeepAliveStrategy kastrat, HttpRoutePlanner rouplan, HttpProcessor httpProcessor, HttpRequestRetryHandler retryHandler, RedirectHandler redirectHandler, 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, 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)` Deprecated.

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

    Constructors in org.apache.http.impl.execchain with parameters of type UserTokenHandler
    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