Uses of Class
org.htmlunit.WebClient
-
Packages that use WebClient Package Description org.htmlunit Framework classes (contains theWebClient
class which is the main entry point).org.htmlunit.css Classes supporting Cascading Style Sheets.org.htmlunit.html Classes specific to HTML pages, particularly theHtmlPage
which represents an HTML document and provides access to its content.org.htmlunit.javascript Classes in this package are specific to the JavaScript engine - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.background Classes relating to background JavaScript execution, which is usually triggered viasetTimeout()
orsetInterval()
.org.htmlunit.javascript.host.worker Implementations of the Web Workers JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.util Miscellaneous utilities.org.htmlunit.websocket WebSocket support. -
-
Uses of WebClient in org.htmlunit
Fields in org.htmlunit declared as WebClient Modifier and Type Field Description private WebClient
HttpWebConnection. webClient_
private WebClient
SgmlPage. webClient_
private WebClient
WebClient.CurrentWindowTracker. webClient_
private WebClient
WebWindowImpl. webClient_
Methods in org.htmlunit that return WebClient Modifier and Type Method Description WebClient
SgmlPage. getWebClient()
Returns the WebClient that originally loaded this page.WebClient
WebWindow. getWebClient()
Returns the web client that "owns" this window.WebClient
WebWindowImpl. getWebClient()
Returns the web client that "owns" this window.Constructors in org.htmlunit with parameters of type WebClient Constructor Description CurrentWindowTracker(WebClient webClient, boolean ensureOneTopLevelWindow)
DialogWindow(WebClient webClient, java.lang.Object arguments)
Creates a new instance.HttpWebConnection(WebClient webClient)
Creates a new HTTP web connection instance.Screen(WebClient webClient)
Creates an instance.TopLevelWindow(java.lang.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 WebClient Modifier and Type Method Description private static org.htmlunit.cssparser.dom.CSSStyleSheetImpl
CssStyleSheet. parseCSS(org.htmlunit.cssparser.parser.InputSource source, WebClient client)
Parses the CSS at the specified input source.static org.htmlunit.cssparser.dom.MediaListImpl
CssStyleSheet. parseMedia(java.lang.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 WebClient Modifier and Type Method Description protected org.htmlunit.cssparser.parser.selector.SelectorList
DomNode. getSelectorList(java.lang.String selectors, WebClient webClient)
Returns theSelectorList
. -
Uses of WebClient in org.htmlunit.javascript
Fields in org.htmlunit.javascript declared as WebClient Modifier and Type Field Description private WebClient
HtmlUnitContextFactory. webClient_
private WebClient
JavaScriptEngine. webClient_
Methods in org.htmlunit.javascript that return WebClient Modifier and Type Method Description private WebClient
JavaScriptEngine. getWebClient()
Returns the web client that this engine is associated with.Methods in org.htmlunit.javascript with parameters of type WebClient Modifier and Type Method Description static 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 WebClient Constructor Description HtmlUnitContextFactory(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 WebClient Modifier and Type Field Description private java.lang.ref.WeakReference<WebClient>
DefaultJavaScriptExecutor. webClient_
Methods in org.htmlunit.javascript.background with parameters of type WebClient Modifier and Type Method Description JavaScriptExecutor
BackgroundJavaScriptFactory. createJavaScriptExecutor(WebClient webClient)
Creates theJavaScriptExecutor
that will be used to handle JS.Constructors in org.htmlunit.javascript.background with parameters of type WebClient Constructor Description DefaultJavaScriptExecutor(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 WebClient Modifier and Type Method Description (package private) void
DedicatedWorkerGlobalScope. loadAndExecute(WebClient webClient, java.lang.String url, org.htmlunit.corejs.javascript.Context context, boolean checkMimeType)
Constructors in org.htmlunit.javascript.host.worker with parameters of type WebClient Constructor Description 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 WebClient Modifier and Type Method Description static void
WebClientUtils. attachVisualDebugger(WebClient client)
Attaches a visual (GUI) debugger to the specified client.Constructors in org.htmlunit.util with parameters of type WebClient Constructor Description FalsifyingWebConnection(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 WebClient Modifier and Type Field Description private WebClient
WebSocketCookieStore. webClient_
Constructors in org.htmlunit.websocket with parameters of type WebClient Constructor Description JettyWebSocketAdapter(WebClient webClient)
WebSocketCookieStore(WebClient webClient)
-