JavaxPacScriptParserpublic interface PacScriptParser
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
PacScriptSource getScriptSource()
String evaluate(String url, String host) throws ProxyEvaluationException
url - the URL to evaluate.host - the host name part of the URL.ProxyEvaluationException - on execution error.Copyright © 2019. All rights reserved.