public interface PacScriptEvaluatorFactory
|Modifier and Type||Method and Description|
Gets a no-op PAC evaluator, meaning one which always returns
PacScriptEvaluator createPacScriptEvaluator(String pacSource) throws PacParsingException
The evaluator must treat the
pacSource as untrusted and evaluate
it in a sandbox.
The method will throw
cannot be parsed/interpreted. In this case you may opt to either do
nothing, report to logging system or use a
no-op evaluator as an alternative.
FindProxyForURL(url, host)function. Most often the PAC script is downloaded from a network location.
PacParsingException- if the source code cannot be parsed