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
Methods 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) -
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
Methods 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)