public class Challenge
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
HttpHeader |
getParams() |
Returns the parameters
|
java.lang.String |
getRealm() |
Returns the realm
|
java.lang.String |
getScheme() |
Returns the scheme
|
static Challenge[] |
parseChallenge(java.lang.String pLine) |
Parses the challenge as received from the host.
|
public HttpHeader getParams()
public java.lang.String getScheme()
public java.lang.String getRealm()
public static Challenge[] parseChallenge(java.lang.String pLine) throws HttpParseException
challenge = auth-scheme 1*SP 1#auth-param auth-scheme = token auth-param = token "=" ( token | quoted-string )
pLine
- The challenge stringHttpParseException
- If the challenge string is ill-formedCopyright © 2005, 2013 IBM Corporation. All Rights Reserved.