Package org.htmlunit
package org.htmlunit
Framework classes (contains the
WebClient
class which is the main entry point).-
ClassDescriptionA basic
Page
implementation.This class is notified when AJAX calls are made, and has the ability to influence these calls.A handler for JavaScript alerts.Objects of this class represent one specific version of a given browser.Because BrowserVersion is immutable we need a builder for this complex object setup.Constants of various features of eachBrowserVersion
.Simple cache implementation which caches compiled JavaScript files and parsed CSS snippets.A handler for system clipboard access.A simple alert handler that keeps track of alerts in a list.A handler for the JavaScript functionwindow.confirm()
.Manages cookies for aWebClient
.Default HtmlUnit implementation of theCredentialsProvider
interface.HtmlUnit's default implementation ofCSSErrorHandler
, which logs all CSS problems.The default implementation ofPageCreator
.The different supported page types.A window opened in JavaScript via eitherwindow.showModalDialog
orwindow.showModelessDialog
.Wrapper for content downloaded from a remote server.Implementation keeping content in memory.Implementation keeping content on the file system.An exception that is thrown when a specified XML element cannot be found in the DOM model.An exception that is thrown when the server returns a failing status code.A collection of constants that represent the various ways a form can be encoded when submitted.Interface to customize the handling of frame content.Representation of the navigation history of a single window.Various constants.Represents the various ways a page can be submitted.Default implementation ofWebConnection
, using the HttpClient library to perform HTTP requests.This refresh handler immediately refreshes the specified page, using the specified URL and ignoring the wait time.Interface to receive notification of incorrect information in HTML code (but not the parser messages), headers, ...Default implementation ofIncorrectnessListener
configured onWebClient
.A fakeWebConnection
designed to mock out the actual HTTP connections.Contains the raw data configured for a response.ThisAjaxController
resynchronizes calls calling from the main thread.This refresh handler performs an immediate refresh if the refresh delay is less or equal to the configured time and otherwise ignores totally the refresh instruction.Thrown if a method is not yet implemented for some reason but at least available from js.Thrown if an object could not be instantiated for some reason.A handler foronbeforeunload
events.An abstract page that represents some content returned from a server.Something that knows how to create a page object.A handler for JavaScript Window.print() (Printing Spec).A handler for JavaScript window.prompt().Class which centralizes proxy configuration, in an effort to reduce clutter in theWebClient
class.A handler for page refreshes.Screen
.An exception that will be thrown if an error occurs during the processing of a script.A script pre processor call back.This object contains the result of executing a chunk of script code.A basic class of Standard Generalized Markup Language (SGML), e.g.Implementation ofCSSErrorHandler
which ignores all CSS problems.Implementation ofIncorrectnessListener
which ignores all notifications.A handler for changes towindow.status
.Holder for different types of storages.Type for Storage.A simple WebResponse created from a string.A generic page that will be returned for any text related content.This refresh handler spawns a new thread that waits the specified number of seconds before refreshing the specified page, using the specified URL.A window representing a top level browser window.A generic page that is returned whenever an unexpected content type is returned by the server.Class to display version information about HtmlUnit.This refresh handler waits the specified number of seconds (or a user defined maximum) before refreshing the specified page, using the specified URL.Utility class which contains standard assertions for HTML pages.The main starting point in HtmlUnit: this class simulates a web browser.This is a poolable CSS3Parser which can be reused automatically when closed.Represents options of aWebClient
.An object which handles the actual communication portion of page retrieval/submission.This class can be used to print messages to the logger.A simple logging interface abstracting logging APIs.Parameter object for making web requests.A response from a web server.Simple data object to simplify WebResponse creation.An interface that represents one window in a browser.An adapter for the WebWindowListener interface.An event that will be fired when a WebWindow changes.INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Base class for common WebWindow functionality.A listener for WebWindowEvent's.Exception to indicate that noWebWindow
could be found that matched a given name.