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,
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, ParserCursor cursor) throws ParseException
AuthChallenge
elements.challengeType
- the type of challenge (target or proxy).buffer
- the sequence of characters to be parsed.cursor
- the parser cursor.ParseException