public class NashornBasedPacEvaluator extends java.lang.Object implements PacEvaluator
Constructor and Description |
---|
NashornBasedPacEvaluator(java.net.URL pacUrl) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProxies(java.net.URL url)
Get the proxies for accessing a given URL.
|
protected java.lang.String |
getProxiesWithoutCaching(java.net.URL url) |
public java.lang.String getProxies(java.net.URL url)
PacEvaluator
getProxies
in interface PacEvaluator
url
- the url for which a proxy is desired"PROXY foo.example.com:8080; PROXY bar.example.com:8080; DIRECT"
protected java.lang.String getProxiesWithoutCaching(java.net.URL url)