Uses of Class
org.apache.hc.client5.http.auth.AuthExchange
-
Packages that use AuthExchange Package Description org.apache.hc.client5.http.cache Caching APIs for both the classic and the asynchronous HTTP transports.org.apache.hc.client5.http.impl org.apache.hc.client5.http.impl.async Asynchronous HTTP client API implementation that supports both HTTP/2 and HTTP/1.1 transport.org.apache.hc.client5.http.impl.auth Standard and common HTTP authentication schemes.org.apache.hc.client5.http.impl.classic Classic HTTP client API implementation that supports HTTP/1.1 transport only.org.apache.hc.client5.http.protocol 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.cache
Methods in org.apache.hc.client5.http.cache that return AuthExchange Modifier and Type Method Description AuthExchangeHttpCacheContext.Delegate. getAuthExchange(org.apache.hc.core5.http.HttpHost host)Methods in org.apache.hc.client5.http.cache that return types with arguments of type AuthExchange Modifier and Type Method Description java.util.Map<org.apache.hc.core5.http.HttpHost,AuthExchange>HttpCacheContext.Delegate. getAuthExchanges()Methods in org.apache.hc.client5.http.cache with parameters of type AuthExchange Modifier and Type Method Description voidHttpCacheContext.Delegate. setAuthExchange(org.apache.hc.core5.http.HttpHost host, AuthExchange authExchange) -
Uses of AuthExchange in org.apache.hc.client5.http.impl
Methods in org.apache.hc.client5.http.impl with parameters of type AuthExchange Modifier and Type Method Description private static java.security.PrincipalDefaultUserTokenHandler. 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 AuthExchange Modifier and Type Method Description private voidAsyncProtocolExec. internalExecute(org.apache.hc.core5.http.HttpHost target, java.lang.String pathPrefix, AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, java.util.concurrent.atomic.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 booleanAsyncConnectExec. needAuthentication(AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context)private booleanAsyncProtocolExec. needAuthentication(AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpHost target, java.lang.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 AuthExchange Modifier and Type Method Description voidAuthenticationHandler. 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 actualAuthExchangestate and adds it to the givenHttpRequestmessage .voidHttpAuthenticator. 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)Deprecated.booleanAuthenticationHandler. 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.booleanAuthenticationHandler. 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, and updates theAuthExchangestate.booleanHttpAuthenticator. 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)Deprecated.booleanAuthenticationHandler. isChallengeExpected(AuthExchange authExchange)Determines if the scheme requires an auth challenge for responses that do not have a challenge HTTP code.voidAuthCacheKeeper. loadPreemptively(org.apache.hc.core5.http.HttpHost host, java.lang.String pathPrefix, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context)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.voidAuthCacheKeeper. updateOnChallenge(org.apache.hc.core5.http.HttpHost host, java.lang.String pathPrefix, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context)voidAuthCacheKeeper. updateOnNoChallenge(org.apache.hc.core5.http.HttpHost host, java.lang.String pathPrefix, AuthExchange authExchange, org.apache.hc.core5.http.protocol.HttpContext context)voidAuthCacheKeeper. updateOnResponse(org.apache.hc.core5.http.HttpHost host, java.lang.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 AuthExchange Modifier and Type Field Description private AuthExchangeProxyClient. proxyAuthExchangeMethods in org.apache.hc.client5.http.impl.classic with parameters of type AuthExchange Modifier and Type Method Description private booleanProtocolExec. needAuthentication(AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpHost target, java.lang.String pathPrefix, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context) -
Uses of AuthExchange in org.apache.hc.client5.http.protocol
Fields in org.apache.hc.client5.http.protocol with type parameters of type AuthExchange Modifier and Type Field Description private java.util.Map<org.apache.hc.core5.http.HttpHost,AuthExchange>HttpClientContext. authExchangeMapMethods in org.apache.hc.client5.http.protocol that return AuthExchange Modifier and Type Method Description AuthExchangeHttpClientContext. getAuthExchange(org.apache.hc.core5.http.HttpHost host)Methods in org.apache.hc.client5.http.protocol that return types with arguments of type AuthExchange Modifier and Type Method Description java.util.Map<org.apache.hc.core5.http.HttpHost,AuthExchange>HttpClientContext.Delegate. getAuthExchanges()java.util.Map<org.apache.hc.core5.http.HttpHost,AuthExchange>HttpClientContext. getAuthExchanges()Represents a map ofAuthExchanges performed in the context of the request execution.Methods in org.apache.hc.client5.http.protocol with parameters of type AuthExchange Modifier and Type Method Description voidHttpClientContext. setAuthExchange(org.apache.hc.core5.http.HttpHost host, AuthExchange authExchange)
-