com.microstrategy.utils.proxy.PacScriptParser |
![]() |
Common interface for PAC script parsers.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract String |
evaluate(String url, String host)
Evaluates the given URL and host against the PAC script.
| ||||||||||
abstract PacScriptSource |
getScriptSource()
Gets the source of the PAC script used by this parser.
|
Evaluates the given URL and host against the PAC script.
url | the URL to evaluate. |
---|---|
host | the host name part of the URL. |
on execution error. | |
Exception |
Gets the source of the PAC script used by this parser.