|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.httpclient.auth.AuthChallengeParser
This class provides utility methods for parsing HTTP www and proxy authentication challenges.
Constructor Summary | |
---|---|
AuthChallengeParser()
|
Method Summary | |
---|---|
static java.util.Map |
extractParams(java.lang.String challengeStr)
Extracts a map of challenge parameters from an authentication challenge. |
static java.lang.String |
extractScheme(java.lang.String challengeStr)
Extracts authentication scheme from the given authentication challenge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AuthChallengeParser()
Method Detail |
public static java.lang.String extractScheme(java.lang.String challengeStr) throws MalformedChallengeException
challengeStr
- the authentication challenge string
MalformedChallengeException
- when the authentication challenge string
is malformedpublic static java.util.Map extractParams(java.lang.String challengeStr) throws MalformedChallengeException
challengeStr
- the authentication challenge string
MalformedChallengeException
- when the authentication challenge string
is malformed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |