public abstract class RFC2617Scheme extends AuthSchemeBase implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.nio.charset.Charset |
credentialsCharset |
private java.util.Map<java.lang.String,java.lang.String> |
params |
private static long |
serialVersionUID |
challengeState
Constructor and Description |
---|
RFC2617Scheme() |
RFC2617Scheme(ChallengeState challengeState)
Deprecated.
(4.3) do not use.
|
RFC2617Scheme(java.nio.charset.Charset credentialsCharset) |
Modifier and Type | Method and Description |
---|---|
java.nio.charset.Charset |
getCredentialsCharset() |
(package private) java.lang.String |
getCredentialsCharset(org.apache.http.HttpRequest request) |
java.lang.String |
getParameter(java.lang.String name)
Returns authentication parameter with the given name, if available.
|
protected java.util.Map<java.lang.String,java.lang.String> |
getParameters()
Returns authentication parameters map.
|
java.lang.String |
getRealm()
Returns authentication realm.
|
protected void |
parseChallenge(org.apache.http.util.CharArrayBuffer buffer,
int pos,
int len) |
private void |
readObject(java.io.ObjectInputStream in) |
private void |
readObjectNoData() |
private void |
writeObject(java.io.ObjectOutputStream out) |
authenticate, getChallengeState, isProxy, processChallenge, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
authenticate, getSchemeName, isComplete, isConnectionBased
private static final long serialVersionUID
private final java.util.Map<java.lang.String,java.lang.String> params
private transient java.nio.charset.Charset credentialsCharset
@Deprecated public RFC2617Scheme(ChallengeState challengeState)
RFC2617Scheme
with the given challenge
state.public RFC2617Scheme(java.nio.charset.Charset credentialsCharset)
public RFC2617Scheme()
public java.nio.charset.Charset getCredentialsCharset()
java.lang.String getCredentialsCharset(org.apache.http.HttpRequest request)
protected void parseChallenge(org.apache.http.util.CharArrayBuffer buffer, int pos, int len) throws MalformedChallengeException
parseChallenge
in class AuthSchemeBase
MalformedChallengeException
protected java.util.Map<java.lang.String,java.lang.String> getParameters()
public java.lang.String getParameter(java.lang.String name)
getParameter
in interface AuthScheme
name
- The name of the parameter to be returnedpublic java.lang.String getRealm()
getRealm
in interface AuthScheme
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
private void readObjectNoData() throws java.io.ObjectStreamException
java.io.ObjectStreamException