public class AuthChallengeParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static AuthChallengeParser |
INSTANCE |
| Constructor and Description |
|---|
AuthChallengeParser() |
| Modifier and Type | Method and Description |
|---|---|
List<AuthChallenge> |
parse(ChallengeType challengeType,
CharSequence buffer,
org.apache.hc.core5.http.message.ParserCursor cursor)
Parses the given sequence of characters into a list of
AuthChallenge elements. |
public static final AuthChallengeParser INSTANCE
public List<AuthChallenge> parse(ChallengeType challengeType, CharSequence buffer, org.apache.hc.core5.http.message.ParserCursor cursor) throws org.apache.hc.core5.http.ParseException
AuthChallenge elements.challengeType - the type of challenge (target or proxy).buffer - the sequence of characters to be parsed.cursor - the parser cursor.org.apache.hc.core5.http.ParseExceptionCopyright © 1999–2022 The Apache Software Foundation. All rights reserved.