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 ProxyConfigbuild()static Map<String,Object>encodeProxyConfig(ProxyConfig value)Encode the specifiedProxyConfigobject.StringgetAutoConfigUrl()List<String>getBypassHosts()StringgetBypassHosts(int index)StringgetHost()intgetPort()StringgetScheme()booleanisSocksProxy()voidsetAutoConfigUrl(String autoConfigUrl)voidsetBypassHosts(int index, String bypassHost)voidsetBypassHosts(List<String> bypassHosts)voidsetHost(String host)voidsetPort(int port)voidsetScheme(String scheme)voidsetSocksProxy(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 specifiedProxyConfigobject.- Parameters:
 value-ProxyConfigobject to be encoded- Returns:
 - encoded 
ProxyConfigobject 
 
- 
build
public ProxyConfig build()
 
 - 
 
 -