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

- Packages that use AuthExchange
  Package | Description
  --- | ---
  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
    Modifier and Type | Method and Description
    --- | ---
    `void` | 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 actual `AuthExchange` state and adds it to the given `HttpRequest` 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 the `AuthExchange` state based on the challenge presented in the response message using the given `AuthenticationStrategy`.
    `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.protocol

    Methods in org.apache.hc.client5.http.protocol that return AuthExchange
    Modifier and Type | Method and Description
    --- | ---
    `AuthExchange` | HttpClientContext.`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 and Description
    --- | ---
    `Map<org.apache.hc.core5.http.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
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpClientContext.`setAuthExchange(org.apache.hc.core5.http.HttpHost host, AuthExchange authExchange)`

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.