public class ProxyInfo extends Object
SessionFactory.logon(java.net.URL, String, byte[], ProxyInfo)
Constructor and Description |
---|
ProxyInfo(String proxyHost,
int proxyPort)
Constructs a proxy server information holder containing the proxy server connection parameters.
|
ProxyInfo(String proxyHost,
int proxyPort,
String proxyUserId,
String proxyPassword)
Constructs a proxy server information holder containing the proxy server connection parameters as well as the
credentials required to connect.
|
Modifier and Type | Method and Description |
---|---|
String |
getProxyHost()
Returns the proxy server host to use when establishing a
ClientSession . |
String |
getProxyPassword()
Returns the proxy server password to use when establishing a
ClientSession . |
int |
getProxyPort()
Returns the proxy server port to use when establishing a
ClientSession . |
String |
getProxyUserId()
Returns the proxy server user id to use when establishing a
ClientSession . |
void |
setProxyHost(String proxyHost)
Set the proxy server host to use when establishing a
ClientSession . |
void |
setProxyPassword(String proxyPassword)
Set the proxy server password to use when establishing a
ClientSession . |
void |
setProxyPort(int proxyPort)
Set the proxy server port to use when establishing a
ClientSession . |
void |
setProxyUserId(String proxyUserId)
Set the proxy server user id to use when establishing a
ClientSession . |
public ProxyInfo(String proxyHost, int proxyPort)
proxyHost
- the proxy server host name (IP or DNS name)proxyPort
- the proxy server portpublic ProxyInfo(String proxyHost, int proxyPort, String proxyUserId, String proxyPassword)
proxyHost
- the proxy server host name (IP or DNS name)proxyPort
- the proxy server portproxyUserId
- the proxy server user id if the proxy server requires authenticationproxyPassword
- the proxy server password if the proxy server requires authenticationpublic String getProxyHost()
ClientSession
.public void setProxyHost(String proxyHost)
ClientSession
.proxyHost
- the proxy host name (IP or DNS name).public int getProxyPort()
ClientSession
.public void setProxyPort(int proxyPort)
ClientSession
.proxyPort
- the proxy server portpublic String getProxyUserId()
ClientSession
.public void setProxyUserId(String proxyUserId)
ClientSession
. This is required only when the proxy
server is configured to require authentication.proxyUserId
- the proxy server user idpublic String getProxyPassword()
ClientSession
.public void setProxyPassword(String proxyPassword)
ClientSession
. This is required only when the proxy
server is configured to require authentication.proxyPassword
- the proxy server password<i>Copyright (c) 2021, SAS Institute Inc., Cary, NC, USA</i>