Uses of Class
org.htmlunit.WebClient
Packages that use WebClient
Package
Description
Framework classes (contains the
WebClient
class which is the main entry point).Classes supporting Cascading Style Sheets.
Classes specific to HTML pages, particularly the
HtmlPage
which represents
an HTML document and provides access to its content.Classes in this package are specific to the JavaScript engine - users of HtmlUnit shouldn't
need anything in this package.
Classes relating to background JavaScript execution, which is usually triggered via
setTimeout()
or setInterval()
.Implementations of the Web Workers JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
Miscellaneous utilities.
WebSocket support.
-
Uses of WebClient in org.htmlunit
Fields in org.htmlunit declared as WebClientModifier and TypeFieldDescriptionprivate final WebClient
HttpWebConnection.webClient_
private final WebClient
SgmlPage.webClient_
private final WebClient
WebClient.CurrentWindowTracker.webClient_
private final WebClient
WebWindowImpl.webClient_
Methods in org.htmlunit that return WebClientModifier and TypeMethodDescriptionSgmlPage.getWebClient()
Returns the WebClient that originally loaded this page.WebWindow.getWebClient()
Returns the web client that "owns" this window.WebWindowImpl.getWebClient()
Returns the web client that "owns" this window.Constructors in org.htmlunit with parameters of type WebClientModifierConstructorDescription(package private)
CurrentWindowTracker
(WebClient webClient, boolean ensureOneTopLevelWindow) protected
DialogWindow
(WebClient webClient, Object arguments) Creates a new instance.HttpWebConnection
(WebClient webClient) Creates a new HTTP web connection instance.Creates an instance.protected
TopLevelWindow
(String name, WebClient webClient) Creates an instance.WebWindowImpl
(WebClient webClient) Creates a window and associates it with the client. -
Uses of WebClient in org.htmlunit.css
Methods in org.htmlunit.css with parameters of type WebClientModifier and TypeMethodDescriptionprivate static org.htmlunit.cssparser.dom.CSSStyleSheetImpl
Parses the CSS at the specified input source.static org.htmlunit.cssparser.dom.MediaListImpl
CssStyleSheet.parseMedia
(String mediaString, WebClient webClient) Parses the given media string. -
Uses of WebClient in org.htmlunit.html
Methods in org.htmlunit.html with parameters of type WebClientModifier and TypeMethodDescriptionprotected org.htmlunit.cssparser.parser.selector.SelectorList
DomNode.getSelectorList
(String selectors, WebClient webClient) Returns theSelectorList
. -
Uses of WebClient in org.htmlunit.javascript
Fields in org.htmlunit.javascript declared as WebClientModifier and TypeFieldDescriptionprivate final WebClient
HtmlUnitContextFactory.webClient_
private WebClient
JavaScriptEngine.webClient_
Methods in org.htmlunit.javascript that return WebClientModifier and TypeMethodDescriptionprivate WebClient
JavaScriptEngine.getWebClient()
Returns the web client that this engine is associated with.Methods in org.htmlunit.javascript with parameters of type WebClientModifier and TypeMethodDescriptionstatic void
JavaScriptEngine.applyPolyfills
(WebClient webClient, BrowserVersion browserVersion, org.htmlunit.corejs.javascript.Context context, HtmlUnitScriptable scriptable) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.static void
JavaScriptEngine.configureRhino
(WebClient webClient, BrowserVersion browserVersion, HtmlUnitScriptable scriptable) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.Constructors in org.htmlunit.javascript with parameters of type WebClientModifierConstructorDescriptionHtmlUnitContextFactory
(WebClient webClient) Creates a new instance of HtmlUnitContextFactory.JavaScriptEngine
(WebClient webClient) Creates an instance for the specifiedWebClient
. -
Uses of WebClient in org.htmlunit.javascript.background
Fields in org.htmlunit.javascript.background with type parameters of type WebClientModifier and TypeFieldDescriptionprivate final WeakReference
<WebClient> DefaultJavaScriptExecutor.webClient_
Methods in org.htmlunit.javascript.background with parameters of type WebClientModifier and TypeMethodDescriptionBackgroundJavaScriptFactory.createJavaScriptExecutor
(WebClient webClient) Creates theJavaScriptExecutor
that will be used to handle JS.Constructors in org.htmlunit.javascript.background with parameters of type WebClientModifierConstructorDescriptionDefaultJavaScriptExecutor
(WebClient webClient) Creates an EventLoop for the webClient. -
Uses of WebClient in org.htmlunit.javascript.host.worker
Methods in org.htmlunit.javascript.host.worker with parameters of type WebClientModifier and TypeMethodDescription(package private) void
DedicatedWorkerGlobalScope.loadAndExecute
(WebClient webClient, String url, org.htmlunit.corejs.javascript.Context context, boolean checkMimeType) Constructors in org.htmlunit.javascript.host.worker with parameters of type WebClientModifierConstructorDescription(package private)
DedicatedWorkerGlobalScope
(Window owningWindow, org.htmlunit.corejs.javascript.Context context, WebClient webClient, Worker worker) Constructor. -
Uses of WebClient in org.htmlunit.util
Methods in org.htmlunit.util with parameters of type WebClientModifier and TypeMethodDescriptionstatic void
WebClientUtils.attachVisualDebugger
(WebClient client) Attaches a visual (GUI) debugger to the specified client.Constructors in org.htmlunit.util with parameters of type WebClientModifierConstructorDescriptionFalsifyingWebConnection
(WebClient webClient) Constructs an instance and places itself as connection of the WebClient.WebConnectionWrapper
(WebClient webClient) Constructs a WebConnection object wrapping the connection of the WebClient and places itself as connection of the WebClient. -
Uses of WebClient in org.htmlunit.websocket
Fields in org.htmlunit.websocket declared as WebClientConstructors in org.htmlunit.websocket with parameters of type WebClientModifierConstructorDescriptionJettyWebSocketAdapter
(WebClient webClient) (package private)
WebSocketCookieStore
(WebClient webClient)