public class RhinoBasedPacEvaluator extends java.lang.Object implements PacEvaluator
| Constructor and Description |
|---|
RhinoBasedPacEvaluator(java.net.URL pacUrl)
Initialize a new object by using the PAC file located at the given URL.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProxies(java.net.URL url)
Get the proxies for accessing a given URL.
|
public RhinoBasedPacEvaluator(java.net.URL pacUrl)
pacUrl - the url of the PAC file to usepublic java.lang.String getProxies(java.net.URL url)
getProxies in interface PacEvaluatorurl - the url for which a proxy is desired"PROXY foo.example.com:8080; PROXY bar.example.com:8080; DIRECT"
getProxiesWithoutCaching(URL)