Proxy credentials cache. More...
Public Member Functions | |
| fm.liveswitch.ManagedConcurrentDictionary< String, fm.liveswitch.ProxyCredentials > | getCache () |
| Gets the underlying cache. More... | |
| fm.liveswitch.ProxyCredentials | getCredentials (String proxyIPAddress) |
| Gets the proxy credentials for the given proxy IP address. More... | |
| fm.liveswitch.ProxyCredentials | getDefaultCredentials () |
| Gets the default credentials. More... | |
| ProxyCredentialsCache () | |
| Initializes a new instance of the fm.liveswitch.ProxyCredentialsCache class. More... | |
| void | setCredentials (String proxyIPAddress, fm.liveswitch.ProxyCredentials proxyCredentials) |
| Sets the proxy credentials for the given proxy IP address. More... | |
| void | setCredentials (String[] proxyIPAddresses, fm.liveswitch.ProxyCredentials proxyCredentials) |
| Sets the proxy credentials for the given proxy IP addresss. More... | |
| void | setDefaultCredentials (fm.liveswitch.ProxyCredentials value) |
| Sets the default credentials. More... | |
| String | toJson () |
| Serializes this instance to JSON. More... | |
Static Public Member Functions | |
| static fm.liveswitch.ProxyCredentialsCache | fromJson (String instanceJson) |
| Deserializes an instance from JSON. More... | |
| static String | toJson (fm.liveswitch.ProxyCredentialsCache instance) |
| Serializes an instance to JSON. More... | |
Proxy credentials cache.
| fm.liveswitch.ProxyCredentialsCache.ProxyCredentialsCache | ( | ) |
Initializes a new instance of the fm.liveswitch.ProxyCredentialsCache class.
|
static |
Deserializes an instance from JSON.
| instanceJson | The serialized JSON. |
| fm.liveswitch.ManagedConcurrentDictionary<String,fm.liveswitch.ProxyCredentials> fm.liveswitch.ProxyCredentialsCache.getCache | ( | ) |
Gets the underlying cache.
| fm.liveswitch.ProxyCredentials fm.liveswitch.ProxyCredentialsCache.getCredentials | ( | String | proxyIPAddress | ) |
Gets the proxy credentials for the given proxy IP address.
| proxyIPAddress | The proxy IP address. |
| fm.liveswitch.ProxyCredentials fm.liveswitch.ProxyCredentialsCache.getDefaultCredentials | ( | ) |
Gets the default credentials.
| void fm.liveswitch.ProxyCredentialsCache.setCredentials | ( | String | proxyIPAddress, |
| fm.liveswitch.ProxyCredentials | proxyCredentials | ||
| ) |
Sets the proxy credentials for the given proxy IP address.
| proxyIPAddress | The proxy IP address. |
| proxyCredentials | The proxy credentials. |
| void fm.liveswitch.ProxyCredentialsCache.setCredentials | ( | String[] | proxyIPAddresses, |
| fm.liveswitch.ProxyCredentials | proxyCredentials | ||
| ) |
Sets the proxy credentials for the given proxy IP addresss.
| proxyIPAddresses | The proxy IP addresses. |
| proxyCredentials | The proxy credentials. |
| void fm.liveswitch.ProxyCredentialsCache.setDefaultCredentials | ( | fm.liveswitch.ProxyCredentials | value | ) |
Sets the default credentials.
| String fm.liveswitch.ProxyCredentialsCache.toJson | ( | ) |
Serializes this instance to JSON.
|
static |
Serializes an instance to JSON.
| instance | The instance. |