Class AuthChallengeParser

java.lang.Object
org.apache.hc.client5.http.impl.auth.AuthChallengeParser

public class AuthChallengeParser extends Object
Authentication challenge parser.
Since:
5.0
  • Field Details

  • 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 of AuthChallenge elements.
      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