public class HTTPImageRetrievalWithAuth.ConsoleAuthPrompter extends Object implements org.apache.commons.httpclient.auth.CredentialsProvider
| Constructor and Description |
|---|
ConsoleAuthPrompter()
Creates a new ConsoleAuthPrompter object.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.httpclient.Credentials |
getCredentials(org.apache.commons.httpclient.auth.AuthScheme authscheme,
String host,
int port,
boolean proxy) |
void |
setUsernamePassword(org.apache.commons.httpclient.UsernamePasswordCredentials creds)
DOCUMENT ME!
|
public ConsoleAuthPrompter()
public void setUsernamePassword(org.apache.commons.httpclient.UsernamePasswordCredentials creds)
creds - DOCUMENT ME!public org.apache.commons.httpclient.Credentials getCredentials(org.apache.commons.httpclient.auth.AuthScheme authscheme,
String host,
int port,
boolean proxy)
throws org.apache.commons.httpclient.auth.CredentialsNotAvailableException
getCredentials in interface org.apache.commons.httpclient.auth.CredentialsProviderorg.apache.commons.httpclient.auth.CredentialsNotAvailableExceptionCopyright © 2012–2025 cismet GmbH. All rights reserved.