Class AuthChallenge


  • @Contract(threading=IMMUTABLE)
    public final class AuthChallenge
    extends java.lang.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
    • Constructor Summary

      Constructors 
      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)  
    • Constructor Detail

      • AuthChallenge

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

        public AuthChallenge​(ChallengeType challengeType,
                             java.lang.String schemeName,
                             org.apache.hc.core5.http.NameValuePair... params)
    • Method Detail

      • getSchemeName

        public java.lang.String getSchemeName()
      • getValue

        public java.lang.String getValue()
      • getParams

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object