Package org.htmlunit.javascript.background
Classes relating to background JavaScript execution, which is usually triggered via
setTimeout()
or setInterval()
. Classes in this package are specific
to the JavaScript engine - users of HtmlUnit shouldn't need anything in this package.-
Interface Summary Interface Description JavaScriptExecutor An event loop to execute all the JavaScript jobs.JavaScriptJob A JavaScript-triggered background job managed by aJavaScriptJobManager
.JavaScriptJobManager A manager forJavaScriptJob
s.JavaScriptJobManager.JavaScriptJobFilter Simple filter interface. -
Class Summary Class Description BackgroundJavaScriptFactory A factory for all the things we have to construct from outside the JavaScript engine.BasicJavaScriptJob A JavaScript-triggered background job managed by aJavaScriptJobManager
.DefaultJavaScriptExecutor An event loop to execute all the JavaScript jobs.JavaScriptExecutionJob A JavaScript-triggered background job representing the execution of some JavaScript code.JavaScriptFunctionJob AJavaScriptJob
created from aFunction
object.JavaScriptJobManagerImpl Default implementation ofJavaScriptJobManager
.JavaScriptStringJob AJavaScriptJob
created from a string of code.JavascriptXMLHttpRequestJob A helper class for XMLHttpRequest.