## 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 and Description
    --- | ---
    `List<AuthScheme>` | AuthenticationStrategy.`select(ChallengeType challengeType, Map<String,AuthChallenge> challenges, HttpContext context)` Returns an list of `AuthScheme`s to handle the given `AuthChallenge`s in their order of preference.

  - ### Uses of ChallengeType in org.apache.hc.client5.http.auth

    Methods in org.apache.hc.client5.http.auth that return ChallengeType
    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.

    Constructors in org.apache.hc.client5.http.auth with parameters of type ChallengeType
    Constructor and Description
    `AuthChallenge(ChallengeType challengeType, String schemeName, NameValuePair... params)`
    `AuthChallenge(ChallengeType challengeType, String schemeName, String value, List<? extends 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 and Description
    --- | ---
    `List<AuthScheme>` | DefaultAuthenticationStrategy.`select(ChallengeType challengeType, Map<String,AuthChallenge> challenges, 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 and Description
    --- | ---
    `void` | HttpAuthenticator.`addAuthResponse(HttpHost host, ChallengeType challengeType, HttpRequest request, AuthExchange authExchange, HttpContext context)` Generates a response to the authentication challenge based on the actual `AuthExchange` state and adds it to the given `HttpRequest` message .
    `boolean` | HttpAuthenticator.`isChallenged(HttpHost host, ChallengeType challengeType, HttpResponse response, AuthExchange authExchange, HttpContext context)` Determines whether the given response represents an authentication challenge.
    `List<AuthChallenge>` | AuthChallengeParser.`parse(ChallengeType challengeType, CharSequence buffer, ParserCursor cursor)` Parses the given sequence of characters into a list of `AuthChallenge` elements.
    `boolean` | HttpAuthenticator.`updateAuthState(HttpHost host, ChallengeType challengeType, HttpResponse response, AuthenticationStrategy authStrategy, AuthExchange authExchange, HttpContext context)` Updates the `AuthExchange` state based on the challenge presented in the response message using the given `AuthenticationStrategy`.

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.