public class HTTPBasicProvider extends Object implements org.apache.commons.httpclient.auth.CredentialsProvider, org.apache.commons.httpclient.Credentials, Serializable
| Constructor and Description |
|---|
HTTPBasicProvider(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.httpclient.Credentials |
getCredentials(org.apache.commons.httpclient.auth.AuthScheme authscheme,
String host,
int port,
boolean isproxy) |
public org.apache.commons.httpclient.Credentials getCredentials(org.apache.commons.httpclient.auth.AuthScheme authscheme,
String host,
int port,
boolean isproxy)
throws org.apache.commons.httpclient.auth.CredentialsNotAvailableException
getCredentials in interface org.apache.commons.httpclient.auth.CredentialsProviderorg.apache.commons.httpclient.auth.CredentialsNotAvailableExceptionCopyright © 1999-2012 UCAR/Unidata. All Rights Reserved.