Package org.apache.hc.client5.http.auth
Class AuthChallenge
java.lang.Object
org.apache.hc.client5.http.auth.AuthChallenge
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 Summary
FieldsModifier and TypeFieldDescriptionprivate final ChallengeType
private final List
<org.apache.hc.core5.http.NameValuePair> private final String
private final String
-
Constructor Summary
ConstructorsConstructorDescriptionAuthChallenge
(ChallengeType challengeType, String schemeName, String value, List<? extends org.apache.hc.core5.http.NameValuePair> params) AuthChallenge
(ChallengeType challengeType, String schemeName, org.apache.hc.core5.http.NameValuePair... params) -
Method Summary
-
Field Details
-
challengeType
-
schemeName
-
value
-
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