java.lang.Object | |
↳ | com.microstrategy.utils.proxy.JavaxPacScriptParser |
PAC parser using the Rhino JavaScript engine bundled with Java 1.6
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JavaxPacScriptParser(PacScriptSource source)
Constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
evaluate(String url, String host)
Evaluates the given URL and host against the PAC script.
| ||||||||||
PacScriptSource |
getScriptSource()
Gets the source of the PAC script used by this parser.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructor
source | the source for the PAC script. |
---|
Exception | on error. |
---|
Evaluates the given URL and host against the PAC script.
url | the URL to evaluate. |
---|---|
host | the host name part of the URL. |
Exception | on execution error. |
---|
Gets the source of the PAC script used by this parser.