Package com.winnovative_software
Class ProxyOptions
java.lang.Object
com.winnovative_software.ProxyOptions
This class represents the various proxy settings that can be used to resolve
the requests
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
Gets the hosts to be accessed directly without a proxyhostName()
Gets the host name of the proxy hostpassword()
Gets the password used for authenticationint
Gets the port number of the proxy host to be used when accessing a HTML documentvoid
setBypassedHosts
(String[] bypassedHosts) Sets the hosts to be accessed directly without a proxyvoid
setHostName
(String hostName) Sets the host name of the proxy hostvoid
setPassword
(String password) Sets the password used for authenticationvoid
setPortNumber
(int portNumber) Sets the port number of the proxy host to be used when accessing a HTML documentvoid
setType
(NetworkProxyType proxyType) Sets the proxy typevoid
setUsername
(String username) Sets the user name used for authenticationtype()
Gets the proxy typeusername()
Gets the user name used for authentication
-
Constructor Details
-
ProxyOptions
public ProxyOptions()
-
-
Method Details
-
type
Gets the proxy type- Returns:
- the proxy type
-
setType
Sets the proxy type- Parameters:
proxyType
- the proxy type
-
hostName
Gets the host name of the proxy host- Returns:
- the host name of the proxy host
-
setHostName
Sets the host name of the proxy host- Parameters:
hostName
- the host name of the proxy host
-
portNumber
public int portNumber()Gets the port number of the proxy host to be used when accessing a HTML document- Returns:
- the port number of the proxy host to be used when accessing a HTML document
-
setPortNumber
public void setPortNumber(int portNumber) Sets the port number of the proxy host to be used when accessing a HTML document- Parameters:
portNumber
- the port number of the proxy host to be used when accessing a HTML document
-
username
Gets the user name used for authentication- Returns:
- the user name used for authentication
-
setUsername
Sets the user name used for authentication- Parameters:
username
- the user name used for authentication
-
password
Gets the password used for authentication- Returns:
- the password used for authentication
-
setPassword
Sets the password used for authentication- Parameters:
password
- the password used for authentication
-
bypassedHosts
Gets the hosts to be accessed directly without a proxy- Returns:
- the hosts to be accessed directly without a proxy
-
setBypassedHosts
Sets the hosts to be accessed directly without a proxy- Parameters:
bypassedHosts
- the hosts to be accessed directly without a proxy
-