Class AuthChallenge

java.lang.Object
org.apache.hc.client5.http.auth.AuthChallenge

@Contract(threading=IMMUTABLE) public final class AuthChallenge extends Object
This class represents an authentication challenge consisting of a auth scheme and either a single parameter or a list of name / value pairs.
Since:
5.0
  • Field Details

    • challengeType

      private final ChallengeType challengeType
    • schemeName

      private final String schemeName
    • value

      private final String value
    • params

      private final List<org.apache.hc.core5.http.NameValuePair> params
  • Constructor Details

    • AuthChallenge

      public AuthChallenge(ChallengeType challengeType, String schemeName, String value, List<? extends org.apache.hc.core5.http.NameValuePair> params)
    • AuthChallenge

      public AuthChallenge(ChallengeType challengeType, String schemeName, org.apache.hc.core5.http.NameValuePair... params)
  • Method Details

    • getChallengeType

      public ChallengeType getChallengeType()
    • getSchemeName

      public String getSchemeName()
    • getValue

      public String getValue()
    • getParams

      public List<org.apache.hc.core5.http.NameValuePair> getParams()
    • toString

      public String toString()
      Overrides:
      toString in class Object