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

- Packages that use AuthenticationStrategy
  Package | Description
  --- | ---
  org.apache.http.impl.auth | Default implementations of standard and common HTTP authentication schemes.
  org.apache.http.impl.client | Default HTTP client implementation.
  org.apache.http.impl.execchain | HTTP request execution chain APIs.

- - ### 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(org.apache.http.HttpHost host, org.apache.http.HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, org.apache.http.protocol.HttpContext context)`
    `boolean` | HttpAuthenticator.`isAuthenticationRequested(org.apache.http.HttpHost host, org.apache.http.HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, org.apache.http.protocol.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` Default `AuthenticationStrategy` implementation for proxy host authentication.
    `class` | `TargetAuthenticationStrategy` Default `AuthenticationStrategy` implementation for proxy host authentication.

    Fields in org.apache.http.impl.client declared as AuthenticationStrategy
    Modifier and Type | Field and Description
    --- | ---
    `protected AuthenticationStrategy` | DefaultRequestDirector.`proxyAuthStrategy` Deprecated. The proxy authentication handler.
    `protected AuthenticationStrategy` | DefaultRequestDirector.`targetAuthStrategy` Deprecated. The target authentication handler.

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

    Methods in org.apache.http.impl.client with parameters of type AuthenticationStrategy
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | HttpAuthenticator.`authenticate(org.apache.http.HttpHost host, org.apache.http.HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, org.apache.http.protocol.HttpContext context)` Deprecated.
    `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.`setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)` Assigns `AuthenticationStrategy` instance for proxy authentication.
    `void` | AbstractHttpClient.`setProxyAuthenticationStrategy(AuthenticationStrategy strategy)` Deprecated.
    `HttpClientBuilder` | HttpClientBuilder.`setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)` Assigns `AuthenticationStrategy` instance for target host authentication.
    `void` | AbstractHttpClient.`setTargetAuthenticationStrategy(AuthenticationStrategy strategy)` Deprecated.

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

  - ### 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(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.