public interface Proxy extends ProfileService
Modifier and Type | Method and Description |
---|---|
ProxyConfig |
config()
Returns the current proxy configuration.
|
void |
config(AutoDetectProxyConfig proxyConfig)
Updates the current proxy configuration with the given
config . |
void |
config(CustomProxyConfig proxyConfig)
Updates the current proxy configuration with the given
config . |
void |
config(DirectProxyConfig proxyConfig)
Updates the current proxy configuration with the given
config . |
void |
config(SystemProxyConfig proxyConfig)
Updates the current proxy configuration with the given
config . |
void |
config(UrlProxyConfig proxyConfig)
Updates the current proxy configuration with the given
config . |
profile
ProxyConfig config()
ObjectClosedException
- when the profile is deleted or its engine is closedvoid config(AutoDetectProxyConfig proxyConfig)
config
.proxyConfig
- the new proxy configuration to applyObjectClosedException
- when the profile is deleted or its engine is closedvoid config(CustomProxyConfig proxyConfig)
config
.proxyConfig
- the new proxy configuration to applyObjectClosedException
- when the profile is deleted or its engine is closedvoid config(DirectProxyConfig proxyConfig)
config
.proxyConfig
- the new proxy configuration to applyObjectClosedException
- when the profile is deleted or its engine is closedvoid config(SystemProxyConfig proxyConfig)
config
.proxyConfig
- the new proxy configuration to applyObjectClosedException
- when the profile is deleted or its engine is closedvoid config(UrlProxyConfig proxyConfig)
config
.proxyConfig
- the new proxy configuration to applyObjectClosedException
- when the profile is deleted or its engine is closed