Uses of Class
org.apache.hc.client5.http.auth.AuthExchange
Packages that use AuthExchange
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.
HTTP protocol interceptors that enable advanced functionality
such as HTTP state management and authentication state caching.
-
Uses of AuthExchange in org.apache.hc.client5.http.impl
Methods in org.apache.hc.client5.http.impl with parameters of type AuthExchangeModifier and TypeMethodDescriptionprivate static Principal
DefaultUserTokenHandler.getAuthPrincipal
(AuthExchange authExchange) -
Uses of AuthExchange in org.apache.hc.client5.http.impl.async
Methods in org.apache.hc.client5.http.impl.async with parameters of type AuthExchangeModifier and TypeMethodDescriptionprivate void
AsyncProtocolExec.internalExecute
(org.apache.hc.core5.http.HttpHost target, String pathPrefix, AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, AtomicBoolean challenged, org.apache.hc.core5.http.HttpRequest request, org.apache.hc.core5.http.nio.AsyncEntityProducer entityProducer, AsyncExecChain.Scope scope, AsyncExecChain chain, AsyncExecCallback asyncExecCallback) private boolean
AsyncConnectExec.needAuthentication
(AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context) private boolean
AsyncProtocolExec.needAuthentication
(AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpHost target, String pathPrefix, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context) -
Uses of AuthExchange in org.apache.hc.client5.http.impl.auth
Methods in org.apache.hc.client5.http.impl.auth with parameters of type AuthExchangeModifier and TypeMethodDescriptionvoid
HttpAuthenticator.addAuthResponse
(org.apache.hc.core5.http.HttpHost host, ChallengeType challengeType, org.apache.hc.core5.http.HttpRequest request, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context) Generates a response to the authentication challenge based on the actualAuthExchange
state and adds it to the givenHttpRequest
message .boolean
HttpAuthenticator.isChallenged
(org.apache.hc.core5.http.HttpHost host, ChallengeType challengeType, org.apache.hc.core5.http.HttpResponse response, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context) Determines whether the given response represents an authentication challenge.void
AuthCacheKeeper.loadPreemptively
(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context) boolean
HttpAuthenticator.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) Updates theAuthExchange
state based on the challenge presented in the response message using the givenAuthenticationStrategy
.void
AuthCacheKeeper.updateOnChallenge
(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context) void
AuthCacheKeeper.updateOnNoChallenge
(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context) void
AuthCacheKeeper.updateOnResponse
(org.apache.hc.core5.http.HttpHost host, String pathPrefix, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context) -
Uses of AuthExchange in org.apache.hc.client5.http.impl.classic
Fields in org.apache.hc.client5.http.impl.classic declared as AuthExchangeMethods in org.apache.hc.client5.http.impl.classic with parameters of type AuthExchangeModifier and TypeMethodDescriptionprivate boolean
ProtocolExec.needAuthentication
(AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpHost target, String pathPrefix, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context) -
Uses of AuthExchange in org.apache.hc.client5.http.protocol
Methods in org.apache.hc.client5.http.protocol that return AuthExchangeModifier and TypeMethodDescriptionHttpClientContext.getAuthExchange
(org.apache.hc.core5.http.HttpHost host) Methods in org.apache.hc.client5.http.protocol that return types with arguments of type AuthExchangeModifier and TypeMethodDescriptionMap
<org.apache.hc.core5.http.HttpHost, AuthExchange> HttpClientContext.getAuthExchanges()
Methods in org.apache.hc.client5.http.protocol with parameters of type AuthExchangeModifier and TypeMethodDescriptionvoid
HttpClientContext.setAuthExchange
(org.apache.hc.core5.http.HttpHost host, AuthExchange authExchange)