## Uses of Class
org.apache.hc.client5.http.auth.AuthExchange

Packages that use AuthExchange
org.apache.hc.client5.http.impl.auth: Standard and common HTTP authentication schemes.
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.impl.auth

Methods in org.apache.hc.client5.http.impl.auth with parameters of type AuthExchange
`void` HttpAuthenticator.`addAuthResponse(HttpHost host, ChallengeType challengeType, HttpRequest request, AuthExchange authExchange, HttpContext context)` Deprecated.
`void` AuthenticationHandler.`addAuthResponse(HttpHost host, ChallengeType challengeType, HttpRequest request, AuthExchange authExchange, HttpContext context)` Generates a response to the authentication challenge based on the actual `AuthExchange` state and adds it to the given `HttpRequest` message .
`boolean` AuthenticationHandler.`handleResponse(HttpHost host, ChallengeType challengeType, HttpResponse response, AuthenticationStrategy authStrategy, AuthExchange authExchange, HttpContext context)` Handles the response from the opposite endpoint and updates the `AuthExchange` state based on the challenge presented in the response message using the given `AuthenticationStrategy`.
`boolean` HttpAuthenticator.`isChallenged(HttpHost host, ChallengeType challengeType, HttpResponse response, AuthExchange authExchange, HttpContext context)` Deprecated.
`boolean` AuthenticationHandler.`isChallenged(HttpHost host, ChallengeType challengeType, HttpResponse response, AuthExchange authExchange, HttpContext context)` Determines whether the given response represents an authentication challenge, and updates the `AuthExchange` state.
`boolean` AuthenticationHandler.`isChallengeExpected(AuthExchange authExchange)` Determines if the scheme requires an auth challenge for responses that do not have a challenge HTTP code.
`void` AuthCacheKeeper.`loadPreemptively(HttpHost host, String pathPrefix, AuthExchange authExchange, HttpContext context)`
`boolean` HttpAuthenticator.`updateAuthState(HttpHost host, ChallengeType challengeType, HttpResponse response, AuthenticationStrategy authStrategy, AuthExchange authExchange, HttpContext context)` Deprecated.
`void` AuthCacheKeeper.`updateOnChallenge(HttpHost host, String pathPrefix, AuthExchange authExchange, HttpContext context)`
`void` AuthCacheKeeper.`updateOnNoChallenge(HttpHost host, String pathPrefix, AuthExchange authExchange, HttpContext context)`
`void` AuthCacheKeeper.`updateOnResponse(HttpHost host, String pathPrefix, AuthExchange authExchange, HttpContext context)`

### Uses of AuthExchange in org.apache.hc.client5.http.protocol

Methods in org.apache.hc.client5.http.protocol that return AuthExchange
`AuthExchange` HttpClientContext.`getAuthExchange(HttpHost host)`

Methods in org.apache.hc.client5.http.protocol that return types with arguments of type AuthExchange
`Map<HttpHost,AuthExchange>` HttpClientContext.`getAuthExchanges()` Represents a map of `AuthExchange`s performed in the context of the request execution.

Methods in org.apache.hc.client5.http.protocol with parameters of type AuthExchange
`void` HttpClientContext.`setAuthExchange(HttpHost host, AuthExchange authExchange)`