|
Knopflerfish OSGi 5.2.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.httpclient.auth.AuthChallengeParser
public final class 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. |
static java.util.Map |
parseChallenges(Header[] headers)
Extracts a map of challenges ordered by authentication scheme name |
| 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 malformed
public static java.util.Map extractParams(java.lang.String challengeStr)
throws MalformedChallengeException
challengeStr - the authentication challenge string
MalformedChallengeException - when the authentication challenge string
is malformed
public static java.util.Map parseChallenges(Header[] headers)
throws MalformedChallengeException
headers - the array of authorization challenges
MalformedChallengeException - if any of challenge strings
is malformed
|
Knopflerfish OSGi 5.2.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||