void |
AuthenticationHandler.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 .
|
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) |
Deprecated.
|
private boolean |
AuthenticationHandler.checkChallenged(ChallengeType challengeType,
org.apache.hc.core5.http.HttpResponse response,
HttpClientContext clientContext) |
Determines whether the given response represents an authentication challenge
of challangeType, without changing the AuthExchange state.
|
java.util.Map<java.lang.String,AuthChallenge> |
AuthenticationHandler.extractChallengeMap(ChallengeType challengeType,
org.apache.hc.core5.http.HttpResponse response,
HttpClientContext context) |
|
boolean |
AuthenticationHandler.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 the AuthExchange
state based on the challenge presented in the response message using the given
AuthenticationStrategy.
|
boolean |
AuthenticationHandler.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
the AuthExchange state.
|
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) |
Deprecated.
|
java.util.List<AuthChallenge> |
AuthChallengeParser.parse(ChallengeType challengeType,
java.lang.CharSequence buffer,
org.apache.hc.core5.http.message.ParserCursor cursor) |
Parses the given sequence of characters into a list of AuthChallenge elements.
|
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) |
Deprecated.
|