Package org.htmlunit
Framework classes (contains the
WebClient
class which is the main entry point).-
Interface Summary Interface Description AlertHandler A handler for JavaScript alerts.AppletConfirmHandler A handler for Applets.ClipboardHandler A handler for system clipboard access.ConfirmHandler A handler for the JavaScript functionwindow.confirm()
.DownloadedContent Wrapper for content downloaded from a remote server.FrameContentHandler Interface to customize the handling of frame content.IncorrectnessListener Interface to receive notification of incorrect information in HTML code (but not the parser messages), headers, ...OnbeforeunloadHandler A handler foronbeforeunload
events.Page An abstract page that represents some content returned from a server.PageCreator Something that knows how to create a page object.PrintHandler A handler for JavaScript Window.print() (Printing Spec).PromptHandler A handler for JavaScript window.prompt().RefreshHandler A handler for page refreshes.ScriptPreProcessor A script pre processor call back.StatusHandler A handler for changes towindow.status
.WebClientInternals.Listener A listener for internal events.WebConnection An object which handles the actual communication portion of page retrieval/submission.WebConsole.Logger A simple logging interface abstracting logging APIs.WebWindow An interface that represents one window in a browser.WebWindowListener A listener for WebWindowEvent's. -
Class Summary Class Description AbstractPage A basicPage
implementation.AjaxController This class is notified when AJAX calls are made, and has the ability to influence these calls.BrowserVersion Objects of this class represent one specific version of a given browser.BrowserVersion.BrowserVersionBuilder Because BrowserVersion is immutable we need a builder for this complex object setup.Cache Simple cache implementation which caches compiled JavaScript files and parsed CSS snippets.CollectingAlertHandler A simple alert handler that keeps track of alerts in a list.CookieManager Manages cookies for aWebClient
.DefaultCredentialsProvider Default HtmlUnit implementation of theCredentialsProvider
interface.DefaultCssErrorHandler HtmlUnit's default implementation ofCSSErrorHandler
, which logs all CSS problems.DefaultPageCreator The default implementation ofPageCreator
.DialogWindow A window opened in JavaScript via eitherwindow.showModalDialog
orwindow.showModelessDialog
.DownloadedContent.InMemory Implementation keeping content in memory.DownloadedContent.OnFile Implementation keeping content on the file system.FormEncodingType A collection of constants that represent the various ways a form can be encoded when submitted.History Representation of the navigation history of a single window.HttpHeader Various constants.HttpWebConnection Default implementation ofWebConnection
, using the HttpClient library to perform HTTP requests.ImmediateRefreshHandler This refresh handler immediately refreshes the specified page, using the specified URL and ignoring the wait time.IncorrectnessListenerImpl Default implementation ofIncorrectnessListener
configured onWebClient
.MockWebConnection A fakeWebConnection
designed to mock out the actual HTTP connections.MockWebConnection.RawResponseData Contains the raw data configured for a response.NicelyResynchronizingAjaxController ThisAjaxController
resynchronizes calls calling from the main thread.NiceRefreshHandler 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.PluginConfiguration Contains information about a plugin as available in JavaScript viadocument.navigator.plugins
, as well as the associated mime types.PluginConfiguration.MimeType Holds information about a single mime type associated with a plugin.ProxyAutoConfig Provides an implementation of Proxy Auto-Config (PAC).ProxyConfig Class which centralizes proxy configuration, in an effort to reduce clutter in theWebClient
class.Screen Screen
.ScriptResult This object contains the result of executing a chunk of script code.SgmlPage A basic class of Standard Generalized Markup Language (SGML), e.g.SilentCssErrorHandler Implementation ofCSSErrorHandler
which ignores all CSS problems.StorageHolder Holder for different types of storages.StringWebResponse A simple WebResponse created from a string.TextPage A generic page that will be returned for any text related content.ThreadedRefreshHandler This refresh handler spawns a new thread that waits the specified number of seconds before refreshing the specified page, using the specified URL.TopLevelWindow A window representing a top level browser window.UnexpectedPage A generic page that is returned whenever an unexpected content type is returned by the server.Version Class to display version information about HtmlUnit.WaitingRefreshHandler This refresh handler waits the specified number of seconds (or a user defined maximum) before refreshing the specified page, using the specified URL.WebAssert Utility class which contains standard assertions for HTML pages.WebClient The main starting point in HtmlUnit: this class simulates a web browser.WebClient.PooledCSS3Parser This is a poolable CSS3Parser which can be reused automatically when closed.WebClientInternals INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Represents a ways to get notified about internal objects.WebClientOptions Represents options of aWebClient
.WebConsole This class can be used to print messages to the logger.WebRequest Parameter object for making web requests.WebResponse A response from a web server.WebResponseData Simple data object to simplify WebResponse creation.WebWindowAdapter An adapter for the WebWindowListener interface.WebWindowEvent An event that will be fired when a WebWindow changes.WebWindowImpl INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Base class for common WebWindow functionality. -
Enum Summary Enum Description BrowserVersionFeatures Constants of various features of eachBrowserVersion
.DefaultPageCreator.PageType The different supported page types.HttpMethod Represents the various ways a page can be submitted.StorageHolder.Type Type for Storage.WebRequest.HttpHint -
Exception Summary Exception Description ElementNotFoundException An exception that is thrown when a specified XML element cannot be found in the DOM model.FailingHttpStatusCodeException An exception that is thrown when the server returns a failing status code.NotYetImplementedException Thrown if a method is not yet implemented for some reason but at least available from js.ObjectInstantiationException Thrown if an object could not be instantiated for some reason.ScriptException An exception that will be thrown if an error occurs during the processing of a script.WebWindowNotFoundException Exception to indicate that noWebWindow
could be found that matched a given name.