public abstract static class NetworkSettings.ProxyCredentialsProvider extends Object
| Constructor and Description |
|---|
ProxyCredentialsProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getProxyHost(URI u)
Returns the
hostname part of network proxy address
based on given URI to access the resource at. |
protected abstract char[] |
getProxyPassword(URI u)
Returns the
password for Proxy Authentication. |
protected abstract String |
getProxyPort(URI u)
Returns the
port part of network proxy address
based on given URI to access the resource at. |
protected abstract String |
getProxyUserName(URI u)
Returns the
username for Proxy Authentication. |
protected abstract boolean |
isProxyAuthentication(URI u)
Returns
true if Proxy Authentication is required. |
protected abstract String getProxyUserName(URI u)
username for Proxy Authentication.
Returns null if no authentication required.u - The URI that a connection is required toprotected abstract char[] getProxyPassword(URI u)
password for Proxy Authentication.
Returns null if no authentication required.u - The URI that a connection is required toprotected abstract boolean isProxyAuthentication(URI u)
true if Proxy Authentication is required.u - The URI that a connection is required totrue if authentication required.protected abstract String getProxyHost(URI u)
hostname part of network proxy address
based on given URI to access the resource at.
Returns null for direct connection.u - The URI that a connection is required tonull