|
IcedTea-Web NetX |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jnlp.runtime.RhinoBasedPacEvaluator
public class RhinoBasedPacEvaluator
Represents a Proxy Auto Config file. This object can be used to evaluate the proxy file to find the proxy for a given url.
http://en.wikipedia.org/wiki/Proxy_auto-config#The_PAC_file| Constructor Summary | |
|---|---|
RhinoBasedPacEvaluator(java.net.URL pacUrl)
Initialize a new object by using the PAC file located at the given URL. |
|
| Method Summary | |
|---|---|
java.lang.String |
getProxies(java.net.URL url)
Get the proxies for accessing a given URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RhinoBasedPacEvaluator(java.net.URL pacUrl)
pacUrl - the url of the PAC file to use| Method Detail |
|---|
public 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)
|
IcedTea-Web NetX |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||