public class HTTPConstantProvider extends Object implements org.apache.http.client.CredentialsProvider, org.apache.http.auth.Credentials, 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) |
String |
getPassword() |
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.CredentialsProvider
public void setCredentials(org.apache.http.auth.AuthScope authscope, org.apache.http.auth.Credentials credentials)
setCredentials
in interface org.apache.http.client.CredentialsProvider
public void clear()
clear
in interface org.apache.http.client.CredentialsProvider
public Principal getUserPrincipal()
getUserPrincipal
in interface org.apache.http.auth.Credentials
public String getPassword()
getPassword
in interface org.apache.http.auth.Credentials
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.