public class RequestScript extends AbstractScriptSubsetter implements RequestSubsetter
config, engine, factory, script, scriptType| Constructor and Description |
|---|
RequestScript(org.w3c.dom.Element config) |
| Modifier and Type | Method and Description |
|---|---|
StringTree |
accept(CacheEvent event,
ChannelImpl channel,
RequestFilter[] request,
CookieJar cookieJar) |
StringTree |
runScript(VelocityEvent event,
VelocityChannel channel,
java.util.List<VelocityRequest> request,
CookieJar cookieJar)
Run the script with the arguments as predefined variables.
|
cleanScript, eval, preeval, pullResultpublic StringTree accept(CacheEvent event, ChannelImpl channel, RequestFilter[] request, CookieJar cookieJar) throws java.lang.Exception
accept in interface RequestSubsetterjava.lang.Exceptionpublic StringTree runScript(VelocityEvent event, VelocityChannel channel, java.util.List<VelocityRequest> request, CookieJar cookieJar) throws java.lang.Exception
java.lang.Exception