Uses of Class
org.apache.hc.client5.http.auth.ChallengeType
-
Packages that use ChallengeType Package Description org.apache.hc.client5.http Client component APIs common to all client transports such as connection route information and resolution as well as common HTTP method definitions and exception classes.org.apache.hc.client5.http.auth Client HTTP authentication APIs.org.apache.hc.client5.http.impl org.apache.hc.client5.http.impl.auth Standard and common HTTP authentication schemes. -
-
Uses of ChallengeType in org.apache.hc.client5.http
Methods in org.apache.hc.client5.http with parameters of type ChallengeType Modifier and Type Method Description java.util.List<AuthScheme>
AuthenticationStrategy. select(ChallengeType challengeType, java.util.Map<java.lang.String,AuthChallenge> challenges, org.apache.hc.core5.http.protocol.HttpContext context)
Returns an list ofAuthScheme
s to handle the givenAuthChallenge
s in their order of preference. -
Uses of ChallengeType in org.apache.hc.client5.http.auth
Fields in org.apache.hc.client5.http.auth declared as ChallengeType Modifier and Type Field Description private ChallengeType
AuthChallenge. challengeType
Methods in org.apache.hc.client5.http.auth that return ChallengeType Modifier and Type Method Description ChallengeType
AuthChallenge. getChallengeType()
static ChallengeType
ChallengeType. valueOf(java.lang.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.Constructors in org.apache.hc.client5.http.auth with parameters of type ChallengeType Constructor Description AuthChallenge(ChallengeType challengeType, java.lang.String schemeName, java.lang.String value, java.util.List<? extends org.apache.hc.core5.http.NameValuePair> params)
AuthChallenge(ChallengeType challengeType, java.lang.String schemeName, org.apache.hc.core5.http.NameValuePair... params)
-
Uses of ChallengeType in org.apache.hc.client5.http.impl
Methods in org.apache.hc.client5.http.impl with parameters of type ChallengeType Modifier and Type Method Description java.util.List<AuthScheme>
DefaultAuthenticationStrategy. select(ChallengeType challengeType, java.util.Map<java.lang.String,AuthChallenge> challenges, org.apache.hc.core5.http.protocol.HttpContext context)
-
Uses of ChallengeType in org.apache.hc.client5.http.impl.auth
Methods in org.apache.hc.client5.http.impl.auth with parameters of type ChallengeType Modifier and Type Method 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 actualAuthExchange
state and adds it to the givenHttpRequest
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.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 ofAuthChallenge
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)
Updates theAuthExchange
state based on the challenge presented in the response message using the givenAuthenticationStrategy
.
-