java.lang.Object | |
↳ | com.samsung.android.knox.net.ProxyProperties |
This class is used to encapsulate a proxy information to be used in the
Global Proxy
policy.
API level 17 |
MDM 5.5 |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a ProxyProperties instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Used to retrieve the authentication configuration (username and password) that is used to
authenticate in the related proxy.
| |||||||||||
Get the exclusion list of the proxy.
| |||||||||||
Get the hostname or ip address of the proxy.
| |||||||||||
Used to retrieve the URL used in a PAC based proxy configuration.
| |||||||||||
Get the port number of the proxy.
| |||||||||||
Set the authentication configuration (username and password) that shall be used to
authenticate in the related proxy.
| |||||||||||
Set the exclusion list of the proxy.
| |||||||||||
Set the hostname or ip address of the proxy.
| |||||||||||
Set the URL to be used in a PAC based proxy configuration.
| |||||||||||
Set the port number of the proxy.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Creates a ProxyProperties instance.
API level 17 |
MDM 5.5 |
Used to retrieve the authentication configuration (username and password) that is used to
authenticate in the related proxy.
API level 20 |
MDM 5.7 |
Get the exclusion list of the proxy.
API level 17 |
MDM 5.5 |
Get the hostname or ip address of the proxy.
API level 17 |
MDM 5.5 |
Used to retrieve the URL used in a PAC based proxy configuration.
API level 20 |
MDM 5.7 |
Get the port number of the proxy.
API level 17 |
MDM 5.5 |
Set the authentication configuration (username and password) that shall be used to
authenticate in the related proxy.
This setter is not mandatory when setting up a proxy and it will only be used if the
configured proxy supports authentication.
authConfigList | List of authentication configuration by proxy. |
---|
API level 20 |
MDM 5.7 |
Set the exclusion list of the proxy.
This setter is used only when configuring a static proxy and cannot be used in conjunction
with setPacFileUrl(String)
, otherwise this configuration will simply be ignored when
calling setGlobalProxy(ProxyProperties)
.
exclusionList | The exclusion list to be set. |
---|
API level 17 |
MDM 5.5 |
Set the hostname or ip address of the proxy.
This setter is used only when configuring a static proxy and cannot be used in conjunction
with setPacFileUrl(String)
, otherwise calling
setGlobalProxy(ProxyProperties)
will fail.
hostname | The hostname to be set. Can be an ip address (IPv4) or a hostname address. |
---|
API level 17 |
MDM 5.5 |
Set the URL to be used in a PAC based proxy configuration.
This setter is used only when configuring an automatic proxy (PAC) and cannot be used in
conjunction with setHostname(String)
and setPortNumber(int)
, otherwise
calling setGlobalProxy(ProxyProperties)
will fail.
pacFileUrl | The server URL containing the PAC file. |
---|
API level 20 |
MDM 5.7 |
Set the port number of the proxy.
This setter is used only when configuring a static proxy and cannot be used in conjunction
with setPacFileUrl(String)
, otherwise calling
setGlobalProxy(ProxyProperties)
will fail.
portNumber | The port number to be set. |
---|
API level 17 |
MDM 5.5 |