public interface Proxy extends EngineService
| 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. |
ProxyConfig config()
java.lang.IllegalStateException - when the engine is closed and its proxy service isn't available
anymorevoid config(AutoDetectProxyConfig proxyConfig)
config.proxyConfig - the new proxy configuration to applyjava.lang.IllegalStateException - when the engine is closed and its proxy service isn't available
anymorevoid config(CustomProxyConfig proxyConfig)
config.proxyConfig - the new proxy configuration to applyjava.lang.IllegalStateException - when the engine is closed and its proxy service isn't available
anymorevoid config(DirectProxyConfig proxyConfig)
config.proxyConfig - the new proxy configuration to applyjava.lang.IllegalStateException - when the engine is closed and its proxy service isn't available
anymorevoid config(SystemProxyConfig proxyConfig)
config.proxyConfig - the new proxy configuration to applyjava.lang.IllegalStateException - when the engine is closed and its proxy service isn't available
anymorevoid config(UrlProxyConfig proxyConfig)
config.proxyConfig - the new proxy configuration to applyjava.lang.IllegalStateException - when the engine is closed and its proxy service isn't available
anymore