Uses of Class
org.apache.hc.client5.http.auth.MalformedChallengeException
Packages that use MalformedChallengeException
Package
Description
Client HTTP authentication APIs.
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
Standard and common HTTP authentication schemes.
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
-
Uses of MalformedChallengeException in org.apache.hc.client5.http.auth
Methods in org.apache.hc.client5.http.auth that throw MalformedChallengeExceptionModifier and TypeMethodDescriptionvoidAuthScheme.processChallenge(AuthChallenge authChallenge, org.apache.hc.core5.http.protocol.HttpContext context) Processes the given auth challenge.default voidAuthScheme.processChallenge(org.apache.hc.core5.http.HttpHost host, boolean challenged, AuthChallenge authChallenge, org.apache.hc.core5.http.protocol.HttpContext context) Processes the given auth challenge. -
Uses of MalformedChallengeException in org.apache.hc.client5.http.impl.async
Methods in org.apache.hc.client5.http.impl.async that throw MalformedChallengeExceptionModifier and TypeMethodDescriptionprivate booleanAsyncConnectExec.needAuthentication(AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context) private booleanAsyncProtocolExec.needAuthentication(AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpHost target, String pathPrefix, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context) -
Uses of MalformedChallengeException in org.apache.hc.client5.http.impl.auth
Methods in org.apache.hc.client5.http.impl.auth that throw MalformedChallengeExceptionModifier and TypeMethodDescriptionprivate static StringScramScheme.b64ToString(String b64) booleanAuthenticationHandler.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 theAuthExchangestate based on the challenge presented in the response message using the givenAuthenticationStrategy.ScramScheme.parseAttrs(String s) voidBasicScheme.processChallenge(AuthChallenge authChallenge, org.apache.hc.core5.http.protocol.HttpContext context) voidBearerScheme.processChallenge(AuthChallenge authChallenge, org.apache.hc.core5.http.protocol.HttpContext context) voidDigestScheme.processChallenge(AuthChallenge authChallenge, org.apache.hc.core5.http.protocol.HttpContext context) voidGGSSchemeBase.processChallenge(AuthChallenge authChallenge, org.apache.hc.core5.http.protocol.HttpContext context) Deprecated.voidNTLMScheme.processChallenge(AuthChallenge authChallenge, org.apache.hc.core5.http.protocol.HttpContext context) Deprecated.voidScramScheme.processChallenge(AuthChallenge authChallenge, org.apache.hc.core5.http.protocol.HttpContext context) Legacy entry point: wrapsAuthenticationExceptionasMalformedChallengeException.voidScramScheme.processChallenge(org.apache.hc.core5.http.HttpHost host, boolean challenged, AuthChallenge authChallenge, org.apache.hc.core5.http.protocol.HttpContext context) Handles 401 challenges (with/withoutdata) and final responses carryingAuthentication-Info(any status code). -
Uses of MalformedChallengeException in org.apache.hc.client5.http.impl.classic
Methods in org.apache.hc.client5.http.impl.classic that throw MalformedChallengeExceptionModifier and TypeMethodDescriptionprivate booleanProtocolExec.needAuthentication(AuthExchange targetAuthExchange, AuthExchange proxyAuthExchange, org.apache.hc.core5.http.HttpHost proxy, org.apache.hc.core5.http.HttpHost target, String pathPrefix, org.apache.hc.core5.http.HttpResponse response, HttpClientContext context)