Class ProxyConfigBean
- java.lang.Object
-
- org.openqa.selenium.htmlunit.options.ProxyConfigBean
-
- All Implemented Interfaces:
Serializable
public class ProxyConfigBean extends Object implements Serializable
- Author:
- Scott Babcock, Ronald Brill
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProxyConfigBean()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProxyConfig
build()
static Map<String,Object>
encodeProxyConfig(ProxyConfig value)
Encode the specifiedProxyConfig
object.String
getAutoConfigUrl()
List<String>
getBypassHosts()
String
getBypassHosts(int index)
String
getHost()
int
getPort()
String
getScheme()
boolean
isSocksProxy()
void
setAutoConfigUrl(String autoConfigUrl)
void
setBypassHosts(int index, String bypassHost)
void
setBypassHosts(List<String> bypassHosts)
void
setHost(String host)
void
setPort(int port)
void
setScheme(String scheme)
void
setSocksProxy(boolean socksProxy)
-
-
-
Method Detail
-
getHost
public String getHost()
-
setHost
public void setHost(String host)
-
getPort
public int getPort()
-
setPort
public void setPort(int port)
-
getScheme
public String getScheme()
-
setScheme
public void setScheme(String scheme)
-
isSocksProxy
public boolean isSocksProxy()
-
setSocksProxy
public void setSocksProxy(boolean socksProxy)
-
getBypassHosts
public String getBypassHosts(int index)
-
setBypassHosts
public void setBypassHosts(int index, String bypassHost)
-
getAutoConfigUrl
public String getAutoConfigUrl()
-
setAutoConfigUrl
public void setAutoConfigUrl(String autoConfigUrl)
-
encodeProxyConfig
public static Map<String,Object> encodeProxyConfig(ProxyConfig value)
Encode the specifiedProxyConfig
object.- Parameters:
value
-ProxyConfig
object to be encoded- Returns:
- encoded
ProxyConfig
object
-
build
public ProxyConfig build()
-
-