Uses of Interface
org.apache.hc.client5.http.AuthenticationStrategy
Packages that use AuthenticationStrategy
Package
Description
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
Standard and common HTTP authentication schemes.
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
-
Uses of AuthenticationStrategy in org.apache.hc.client5.http.impl
Classes in org.apache.hc.client5.http.impl that implement AuthenticationStrategy -
Uses of AuthenticationStrategy in org.apache.hc.client5.http.impl.async
Fields in org.apache.hc.client5.http.impl.async declared as AuthenticationStrategyModifier and TypeFieldDescriptionprivate final AuthenticationStrategyAsyncConnectExec.proxyAuthStrategyprivate final AuthenticationStrategyAsyncProtocolExec.proxyAuthStrategyprivate AuthenticationStrategyH2AsyncClientBuilder.proxyAuthStrategyprivate AuthenticationStrategyHttpAsyncClientBuilder.proxyAuthStrategyprivate final AuthenticationStrategyAsyncProtocolExec.targetAuthStrategyprivate AuthenticationStrategyH2AsyncClientBuilder.targetAuthStrategyprivate AuthenticationStrategyHttpAsyncClientBuilder.targetAuthStrategyMethods in org.apache.hc.client5.http.impl.async with parameters of type AuthenticationStrategyModifier and TypeMethodDescriptionfinal H2AsyncClientBuilderH2AsyncClientBuilder.setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy) SetsAuthenticationStrategyinstance for proxy authentication.final HttpAsyncClientBuilderHttpAsyncClientBuilder.setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy) SetsAuthenticationStrategyinstance for proxy authentication.final H2AsyncClientBuilderH2AsyncClientBuilder.setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy) SetsAuthenticationStrategyinstance for target host authentication.final HttpAsyncClientBuilderHttpAsyncClientBuilder.setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy) SetsAuthenticationStrategyinstance for target host authentication.Constructors in org.apache.hc.client5.http.impl.async with parameters of type AuthenticationStrategyModifierConstructorDescriptionAsyncConnectExec(org.apache.hc.core5.http.protocol.HttpProcessor proxyHttpProcessor, AuthenticationStrategy proxyAuthStrategy, SchemePortResolver schemePortResolver, boolean authCachingDisabled) (package private)AsyncProtocolExec(AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, SchemePortResolver schemePortResolver, boolean authCachingDisabled) -
Uses of AuthenticationStrategy in org.apache.hc.client5.http.impl.auth
Methods in org.apache.hc.client5.http.impl.auth with parameters of type AuthenticationStrategyModifier and TypeMethodDescriptionbooleanAuthenticationHandler.handleResponse(org.apache.hc.core5.http.HttpHost host, ChallengeType challengeType, org.apache.hc.core5.http.HttpResponse response, AuthenticationStrategy authStrategy, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context) Handles the response from the opposite endpoint and updates theAuthExchangestate based on the challenge presented in the response message using the givenAuthenticationStrategy.booleanHttpAuthenticator.updateAuthState(org.apache.hc.core5.http.HttpHost host, ChallengeType challengeType, org.apache.hc.core5.http.HttpResponse response, AuthenticationStrategy authStrategy, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context) Deprecated. -
Uses of AuthenticationStrategy in org.apache.hc.client5.http.impl.classic
Fields in org.apache.hc.client5.http.impl.classic declared as AuthenticationStrategyModifier and TypeFieldDescriptionprivate final AuthenticationStrategyConnectExec.proxyAuthStrategyprivate AuthenticationStrategyHttpClientBuilder.proxyAuthStrategyprivate final AuthenticationStrategyProtocolExec.proxyAuthStrategyprivate final AuthenticationStrategyProxyClient.proxyAuthStrategyprivate AuthenticationStrategyHttpClientBuilder.targetAuthStrategyprivate final AuthenticationStrategyProtocolExec.targetAuthStrategyMethods in org.apache.hc.client5.http.impl.classic with parameters of type AuthenticationStrategyModifier and TypeMethodDescriptionfinal HttpClientBuilderHttpClientBuilder.setProxyAuthenticationStrategy(AuthenticationStrategy proxyAuthStrategy) SetsAuthenticationStrategyinstance for proxy authentication.final HttpClientBuilderHttpClientBuilder.setTargetAuthenticationStrategy(AuthenticationStrategy targetAuthStrategy) SetsAuthenticationStrategyinstance for target host authentication.Constructors in org.apache.hc.client5.http.impl.classic with parameters of type AuthenticationStrategyModifierConstructorDescriptionConnectExec(org.apache.hc.core5.http.ConnectionReuseStrategy reuseStrategy, org.apache.hc.core5.http.protocol.HttpProcessor proxyHttpProcessor, AuthenticationStrategy proxyAuthStrategy, SchemePortResolver schemePortResolver, boolean authCachingDisabled) ProtocolExec(AuthenticationStrategy targetAuthStrategy, AuthenticationStrategy proxyAuthStrategy, SchemePortResolver schemePortResolver, boolean authCachingDisabled)