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 Description booleanHttpAuthenticator. handleAuthChallenge(org.apache.http.HttpHost host, org.apache.http.HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, org.apache.http.protocol.HttpContext context)booleanHttpAuthenticator. 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 Description classProxyAuthenticationStrategyDefaultAuthenticationStrategyimplementation for proxy host authentication.classTargetAuthenticationStrategyDefaultAuthenticationStrategyimplementation for proxy host authentication.Fields in org.apache.http.impl.client declared as AuthenticationStrategy Modifier and Type Field Description protected AuthenticationStrategyDefaultRequestDirector. proxyAuthStrategyDeprecated.The proxy authentication handler.protected AuthenticationStrategyDefaultRequestDirector. targetAuthStrategyDeprecated.The target authentication handler.Methods in org.apache.http.impl.client that return AuthenticationStrategy Modifier and Type Method Description protected AuthenticationStrategyAbstractHttpClient. createProxyAuthenticationStrategy()Deprecated.protected AuthenticationStrategyAbstractHttpClient. createTargetAuthenticationStrategy()Deprecated.AuthenticationStrategyAbstractHttpClient. getProxyAuthenticationStrategy()Deprecated.AuthenticationStrategyAbstractHttpClient. getTargetAuthenticationStrategy()Deprecated.Methods in org.apache.http.impl.client with parameters of type AuthenticationStrategy Modifier and Type Method Description booleanHttpAuthenticator. authenticate(org.apache.http.HttpHost host, org.apache.http.HttpResponse response, AuthenticationStrategy authStrategy, AuthState authState, org.apache.http.protocol.HttpContext context)Deprecated.protected RequestDirectorAbstractHttpClient. 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 ClientExecChainHttpClientBuilder. 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 ofClientExecChainto be used as a main exec.voidAbstractHttpClient. setProxyAuthenticationStrategy(AuthenticationStrategy strategy)Deprecated.HttpClientBuilderHttpClientBuilder. setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)AssignsAuthenticationStrategyinstance for proxy authentication.voidAbstractHttpClient. setTargetAuthenticationStrategy(AuthenticationStrategy strategy)Deprecated.HttpClientBuilderHttpClientBuilder. setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)AssignsAuthenticationStrategyinstance for target host authentication.Constructors in org.apache.http.impl.client with parameters of type AuthenticationStrategy Constructor 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 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)
-