Proxy utility methods.
More...
◆ Proxy()
| fm.liveswitch.Proxy.Proxy |
( |
| ) |
|
◆ authCheck()
Checks if proxy authentication is required to access a given URL.
- Parameters
-
◆ exportCredentials()
| static String fm.liveswitch.Proxy.exportCredentials |
( |
| ) |
|
|
static |
Exports the credentials to JSON.
- Returns
- The credentials in JSON format.
◆ getCredentials()
Gets the proxy credentials for the given proxy IP address.
- Parameters
-
| proxyIPAddress | The proxy IP address. |
- Returns
- The proxy credentials, if they exist, or .
◆ importCredentials()
| static void fm.liveswitch.Proxy.importCredentials |
( |
String |
credentialsJson | ) |
|
|
static |
Imports credentials from JSON.
- Parameters
-
| credentialsJson | The credentials in JSON format. |
◆ setCredentials() [1/2]
Sets the proxy credentials for the given proxy IP address.
- Parameters
-
| proxyIPAddress | The proxy IP address. |
| proxyCredentials | The proxy credentials. |
◆ setCredentials() [2/2]
Sets the proxy credentials for the given proxy IP addresss.
- Parameters
-
| proxyIPAddresses | The proxy IP addresses. |
| proxyCredentials | The proxy credentials. |