Class AuthChallengeParser
java.lang.Object
org.apache.hc.client5.http.impl.auth.AuthChallengeParser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(ChallengeType challengeType, CharSequence buffer, org.apache.hc.core5.http.message.ParserCursor cursor) Parses the given sequence of characters into a list ofAuthChallengeelements.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
AuthChallengeParser
public AuthChallengeParser()
-
-
Method Details
-
parse
public List<AuthChallenge> parse(ChallengeType challengeType, CharSequence buffer, org.apache.hc.core5.http.message.ParserCursor cursor) throws org.apache.hc.core5.http.ParseException Parses the given sequence of characters into a list ofAuthChallengeelements.- Parameters:
challengeType- the type of challenge (target or proxy).buffer- the sequence of characters to be parsed.cursor- the parser cursor.- Returns:
- a list of auth challenge elements.
- Throws:
org.apache.hc.core5.http.ParseException
-