| Package | Description |
|---|---|
| org.apache.hc.client5.http.auth |
Client HTTP authentication APIs.
|
| org.apache.hc.client5.http.impl.auth |
Default implementations of standard and common HTTP authentication
schemes.
|
| org.apache.hc.client5.http.impl.protocol | |
| org.apache.hc.client5.http.protocol |
Client specific HTTP protocol handlers.
|
| Modifier and Type | Method and Description |
|---|---|
ChallengeType |
AuthChallenge.getChallengeType() |
static ChallengeType |
ChallengeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChallengeType[] |
ChallengeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
AuthChallenge(ChallengeType challengeType,
String scheme,
org.apache.hc.core5.http.NameValuePair... params) |
AuthChallenge(ChallengeType challengeType,
String scheme,
String value,
List<? extends org.apache.hc.core5.http.NameValuePair> params) |
| 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) |
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) |
List<AuthChallenge> |
AuthChallengeParser.parse(ChallengeType challengeType,
CharSequence buffer,
org.apache.hc.core5.http.message.ParserCursor cursor) |
boolean |
HttpAuthenticator.prepareAuthResponse(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) |
| Modifier and Type | Method and Description |
|---|---|
List<AuthScheme> |
DefaultAuthenticationStrategy.select(ChallengeType challengeType,
Map<String,AuthChallenge> challenges,
org.apache.hc.core5.http.protocol.HttpContext context) |
| Modifier and Type | Method and Description |
|---|---|
List<AuthScheme> |
AuthenticationStrategy.select(ChallengeType challengeType,
Map<String,AuthChallenge> challenges,
org.apache.hc.core5.http.protocol.HttpContext context)
Returns an list of
AuthSchemes to handle the given AuthChallenges
in their order of preference. |
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.