|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.impl.auth.AuthSchemeBase
public abstract class AuthSchemeBase
Abstract authentication scheme class that serves as a basis for all authentication schemes supported by HttpClient. This class defines the generic way of parsing an authentication challenge. It does not make any assumptions regarding the format of the challenge nor does it impose any specific way of responding to that challenge.
Constructor Summary | |
---|---|
AuthSchemeBase()
|
Method Summary | |
---|---|
boolean |
isProxy()
Returns true if authenticating against a proxy, false
otherwise. |
protected abstract void |
parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
int pos,
int len)
|
void |
processChallenge(org.apache.http.Header header)
Processes the given challenge token. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.http.auth.AuthScheme |
---|
authenticate, getParameter, getRealm, getSchemeName, isComplete, isConnectionBased |
Constructor Detail |
---|
public AuthSchemeBase()
Method Detail |
---|
public void processChallenge(org.apache.http.Header header) throws MalformedChallengeException
processChallenge
in interface AuthScheme
header
- the challenge header
MalformedChallengeException
- is thrown if the authentication challenge
is malformedprotected abstract void parseChallenge(org.apache.http.util.CharArrayBuffer buffer, int pos, int len) throws MalformedChallengeException
MalformedChallengeException
public boolean isProxy()
true
if authenticating against a proxy, false
otherwise.
true
if authenticating against a proxy, false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |