|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.impl.auth.AuthSchemeBase
org.apache.http.impl.auth.RFC2617Scheme
@NotThreadSafe public abstract class RFC2617Scheme
Abstract authentication scheme class that lays foundation for all RFC 2617 compliant authentication schemes and provides capabilities common to all authentication schemes defined in RFC 2617.
Constructor Summary | |
---|---|
RFC2617Scheme()
|
|
RFC2617Scheme(ChallengeState challengeState)
Deprecated. (4.3) do not use. |
|
RFC2617Scheme(Charset credentialsCharset)
|
Method Summary | |
---|---|
Charset |
getCredentialsCharset()
|
String |
getParameter(String name)
Returns authentication parameter with the given name, if available. |
protected Map<String,String> |
getParameters()
Returns authentication parameters map. |
String |
getRealm()
Returns authentication realm. |
protected void |
parseChallenge(CharArrayBuffer buffer,
int pos,
int len)
|
Methods inherited from class org.apache.http.impl.auth.AuthSchemeBase |
---|
authenticate, getChallengeState, isProxy, processChallenge, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.http.auth.AuthScheme |
---|
authenticate, getSchemeName, isComplete, isConnectionBased |
Constructor Detail |
---|
@Deprecated public RFC2617Scheme(ChallengeState challengeState)
public RFC2617Scheme(Charset credentialsCharset)
public RFC2617Scheme()
Method Detail |
---|
public Charset getCredentialsCharset()
protected void parseChallenge(CharArrayBuffer buffer, int pos, int len) throws MalformedChallengeException
parseChallenge
in class AuthSchemeBase
MalformedChallengeException
protected Map<String,String> getParameters()
public String getParameter(String name)
name
- The name of the parameter to be returned
public String getRealm()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |