public class DoNotUseProxyPac extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
class |
DoNotUseProxyPac.DefaultProxy |
class |
DoNotUseProxyPac.ProxyHostVia |
class |
DoNotUseProxyPac.ProxyUrlVia |
Constructor and Description |
---|
DoNotUseProxyPac() |
Modifier and Type | Method and Description |
---|---|
Map |
asMap() |
DoNotUseProxyPac.DefaultProxy |
defaults() |
DoNotUseProxyPac |
deriveFrom(URI uri) |
static DoNotUseProxyPac |
fromJson(String text) |
DoNotUseProxyPac.ProxyUrlVia |
map(String outgoingUrl) |
DoNotUseProxyPac.ProxyHostVia |
mapHost(String hostname) |
void |
outputTo(Writer writer)
Output the PAC file to the given writer.
|
public void outputTo(Writer writer) throws IOException
writer
- Will have config written to it.IOException
- Should the underlying writer fail.public DoNotUseProxyPac.ProxyUrlVia map(String outgoingUrl)
public DoNotUseProxyPac.ProxyHostVia mapHost(String hostname)
public DoNotUseProxyPac.DefaultProxy defaults()
public Map asMap()
public static DoNotUseProxyPac fromJson(String text)
public DoNotUseProxyPac deriveFrom(URI uri)
Copyright © 2015. All rights reserved.