| 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. | 
| 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  AuthExchangestate
 and adds it to the givenHttpRequestmessage . | 
| 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. | 
| 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  AuthExchangestate based on the challenge presented in the response message
 using the givenAuthenticationStrategy. | 
| Modifier and Type | Method and Description | 
|---|---|
| AuthExchange | HttpClientContext. getAuthExchange(org.apache.hc.core5.http.HttpHost host) | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<org.apache.hc.core5.http.HttpHost,AuthExchange> | HttpClientContext. getAuthExchanges() | 
| 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.