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

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

- - ### 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` Default implementation of `UserTokenHandler`.
    `class` | `NoopUserTokenHandler` Noop implementation of `UserTokenHandler` that always returns `null`.

    Fields in org.apache.http.impl.client declared as UserTokenHandler
    Modifier and Type | Field and Description
    --- | ---
    `protected UserTokenHandler` | DefaultRequestDirector.`userTokenHandler` Deprecated. The user token handler.

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

    Methods in org.apache.http.impl.client with parameters of type UserTokenHandler
    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, RedirectHandler redirectHandler, AuthenticationHandler targetAuthHandler, AuthenticationHandler proxyAuthHandler, UserTokenHandler userTokenHandler, org.apache.http.params.HttpParams params)` Deprecated. (4.1) 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, 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.
    `protected ClientExecChain` | HttpClientBuilder.`createMainExec(org.apache.http.protocol.HttpRequestExecutor requestExec, HttpClientConnectionManager connManager, org.apache.http.ConnectionReuseStrategy reuseStrategy, ConnectionKeepAliveStrategy keepAliveStrategy, org.apache.http.protocol.HttpProcessor proxyHttpProcessor, AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, UserTokenHandler userTokenHandler)` Produces an instance of `ClientExecChain` to be used as a main exec.
    `HttpClientBuilder` | HttpClientBuilder.`setUserTokenHandler(UserTokenHandler userTokenHandler)` Assigns `UserTokenHandler` instance.
    `void` | AbstractHttpClient.`setUserTokenHandler(UserTokenHandler handler)` Deprecated.

    Constructors in org.apache.http.impl.client with parameters of type UserTokenHandler
    Constructor and Description
    `DefaultRequestDirector(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, RedirectHandler redirectHandler, 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, 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 UserTokenHandler in org.apache.http.impl.execchain

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

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