org.openqa.selenium.browserlaunchers
Class DoNotUseProxyPac
java.lang.Object
org.openqa.selenium.browserlaunchers.DoNotUseProxyPac
- All Implemented Interfaces:
- Serializable
public class DoNotUseProxyPac
- extends Object
- implements Serializable
A representation of a proxy configuration file.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoNotUseProxyPac
public DoNotUseProxyPac()
outputTo
public void outputTo(Writer writer)
throws IOException
- Output the PAC file to the given writer.
- Parameters:
writer
- Will have config written to it.
- Throws:
IOException
- Should the underlying writer fail.
map
public DoNotUseProxyPac.ProxyUrlVia map(String outgoingUrl)
mapHost
public DoNotUseProxyPac.ProxyHostVia mapHost(String hostname)
defaults
public DoNotUseProxyPac.DefaultProxy defaults()
asMap
public Map asMap()
deriveFrom
public DoNotUseProxyPac deriveFrom(URI uri)
Copyright © 2012. All Rights Reserved.