public interface PacEvaluator
| Modifier and Type | Method and Description |
|---|---|
static PacEvaluator |
createDefault()
Create the default GraalJS based evaluator.
|
ProxyResult |
evaluate(String pacScript,
String targetUrl)
Evaluate the PAC script for the given target URL.
|
ProxyResult |
evaluateFromPacUrl(String pacUrl,
String targetUrl)
Deprecated.
Use
PacScriptLoader together with evaluate(String, String). |
ProxyResult evaluate(String pacScript, String targetUrl)
pacScript - PAC JavaScript contenttargetUrl - target URL@Deprecated ProxyResult evaluateFromPacUrl(String pacUrl, String targetUrl)
PacScriptLoader together with evaluate(String, String).pacUrl - URL of the PAC scripttargetUrl - target URLstatic PacEvaluator createDefault()
Copyright © 2026. All rights reserved.