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, pullResult
public StringTree accept(CacheEvent event, ChannelImpl channel, RequestFilter[] request, CookieJar cookieJar) throws java.lang.Exception
accept
in interface RequestSubsetter
java.lang.Exception
public StringTree runScript(VelocityEvent event, VelocityChannel channel, java.util.List<VelocityRequest> request, CookieJar cookieJar) throws java.lang.Exception
java.lang.Exception