public class HTTPConstantProvider
extends java.lang.Object
implements org.apache.http.client.CredentialsProvider, org.apache.http.auth.Credentials, java.io.Serializable
| Constructor and Description |
|---|
HTTPConstantProvider(org.apache.http.auth.Credentials creds) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
org.apache.http.auth.Credentials |
getCredentials(org.apache.http.auth.AuthScope scope) |
java.lang.String |
getPassword() |
java.security.Principal |
getUserPrincipal() |
void |
setCredentials(org.apache.http.auth.AuthScope authscope,
org.apache.http.auth.Credentials credentials) |
public HTTPConstantProvider(org.apache.http.auth.Credentials creds)
public org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope scope)
getCredentials in interface org.apache.http.client.CredentialsProviderpublic void setCredentials(org.apache.http.auth.AuthScope authscope,
org.apache.http.auth.Credentials credentials)
setCredentials in interface org.apache.http.client.CredentialsProviderpublic void clear()
clear in interface org.apache.http.client.CredentialsProviderpublic java.security.Principal getUserPrincipal()
getUserPrincipal in interface org.apache.http.auth.Credentialspublic java.lang.String getPassword()
getPassword in interface org.apache.http.auth.Credentials