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 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 Description (package private) class
AuthenticationStrategyAdaptor
Deprecated.(4.2) do not use(package private) class
AuthenticationStrategyImpl
class
ProxyAuthenticationStrategy
DefaultAuthenticationStrategy
implementation for proxy host authentication.class
TargetAuthenticationStrategy
DefaultAuthenticationStrategy
implementation for proxy host authentication.Fields in org.apache.http.impl.client declared as AuthenticationStrategy Modifier and Type Field Description private AuthenticationStrategy
AbstractHttpClient. proxyAuthStrategy
Deprecated.protected AuthenticationStrategy
DefaultRequestDirector. proxyAuthStrategy
Deprecated.The proxy authentication handler.private AuthenticationStrategy
HttpClientBuilder. proxyAuthStrategy
private AuthenticationStrategy
AbstractHttpClient. targetAuthStrategy
Deprecated.protected AuthenticationStrategy
DefaultRequestDirector. targetAuthStrategy
Deprecated.The target authentication handler.private AuthenticationStrategy
HttpClientBuilder. targetAuthStrategy
Methods in org.apache.http.impl.client that return AuthenticationStrategy Modifier and Type Method 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 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 ofClientExecChain
to be used as a main exec.void
AbstractHttpClient. setProxyAuthenticationStrategy(AuthenticationStrategy strategy)
Deprecated.HttpClientBuilder
HttpClientBuilder. setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy)
AssignsAuthenticationStrategy
instance for proxy authentication.void
AbstractHttpClient. setTargetAuthenticationStrategy(AuthenticationStrategy strategy)
Deprecated.HttpClientBuilder
HttpClientBuilder. setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy)
AssignsAuthenticationStrategy
instance 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
Fields in org.apache.http.impl.execchain declared as AuthenticationStrategy Modifier and Type Field Description private AuthenticationStrategy
MainClientExec. proxyAuthStrategy
private AuthenticationStrategy
MainClientExec. targetAuthStrategy
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)
-