public abstract static class NetworkSettings.ProxyCredentialsProvider
extends java.lang.Object
| Constructor | Description |
|---|---|
ProxyCredentialsProvider() |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract java.lang.String |
getProxyHost(java.net.URI u) |
Returns the
hostname part of network proxy address
based on given URI to access the resource at. |
protected abstract char[] |
getProxyPassword(java.net.URI u) |
Returns the
password for Proxy Authentication. |
protected abstract java.lang.String |
getProxyPort(java.net.URI u) |
Returns the
port part of network proxy address
based on given URI to access the resource at. |
protected abstract java.lang.String |
getProxyUserName(java.net.URI u) |
Returns the
username for Proxy Authentication. |
protected abstract boolean |
isProxyAuthentication(java.net.URI u) |
Returns
true if Proxy Authentication is required. |
protected abstract java.lang.String getProxyUserName(java.net.URI u)
username for Proxy Authentication.
Returns null if no authentication required.u - The URI that a connection is required toprotected abstract char[] getProxyPassword(java.net.URI u)
password for Proxy Authentication.
Returns null if no authentication required.u - The URI that a connection is required toprotected abstract boolean isProxyAuthentication(java.net.URI u)
true if Proxy Authentication is required.u - The URI that a connection is required totrue if authentication required.protected abstract java.lang.String getProxyHost(java.net.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 tonullprotected abstract java.lang.String getProxyPort(java.net.URI u)
port 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 tonullBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.