public class HttpCredentialsProvider extends Object implements org.apache.http.client.CredentialsProvider
| Constructor and Description | 
|---|
| HttpCredentialsProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear() | 
| org.apache.http.auth.Credentials | getCredentials(org.apache.http.auth.AuthScope authScope) | 
| void | loadProxyCredentialsFromSettings() | 
| void | setCredentials(org.apache.http.auth.AuthScope authScope,
              org.apache.http.auth.Credentials credentials) | 
| void | setProxy(String proxyHost,
        String proxyPort) | 
| void | setProxyCredentials(String proxyHost,
                   String proxyPort,
                   String proxyUsername,
                   String proxyPassword) | 
| void | setRequestCredentials(String requestUsername,
                     String requestPassword,
                     String requestDomain,
                     String requestAuthPolicy) | 
public void setCredentials(org.apache.http.auth.AuthScope authScope,
                           org.apache.http.auth.Credentials credentials)
setCredentials in interface org.apache.http.client.CredentialsProviderpublic org.apache.http.auth.Credentials getCredentials(org.apache.http.auth.AuthScope authScope)
getCredentials in interface org.apache.http.client.CredentialsProviderpublic void clear()
clear in interface org.apache.http.client.CredentialsProviderpublic void setRequestCredentials(String requestUsername, String requestPassword, String requestDomain, String requestAuthPolicy)
public void setProxyCredentials(String proxyHost, String proxyPort, String proxyUsername, String proxyPassword)
public void loadProxyCredentialsFromSettings()
Copyright © 2019. All Rights Reserved.