org.openqa.selenium.browserlaunchers
Class DoNotUseProxyPac

java.lang.Object
  extended by 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

Nested Class Summary
 class DoNotUseProxyPac.DefaultProxy
           
 class DoNotUseProxyPac.ProxyHostVia
           
 class DoNotUseProxyPac.ProxyUrlVia
           
 
Constructor Summary
DoNotUseProxyPac()
           
 
Method Summary
 Map asMap()
           
 DoNotUseProxyPac.DefaultProxy defaults()
           
 DoNotUseProxyPac deriveFrom(URI uri)
           
 DoNotUseProxyPac.ProxyUrlVia map(String outgoingUrl)
           
 DoNotUseProxyPac.ProxyHostVia mapHost(String hostname)
           
 void outputTo(Writer writer)
          Output the PAC file to the given writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoNotUseProxyPac

public DoNotUseProxyPac()
Method Detail

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 © 2011. All Rights Reserved.