Uses of Interface
org.htmlunit.WebConnection
Packages that use WebConnection
Package
Description
Framework classes (contains the
WebClient
class which is the main entry point).Miscellaneous utilities.
-
Uses of WebConnection in org.htmlunit
Classes in org.htmlunit that implement WebConnectionModifier and TypeClassDescriptionclass
Default implementation ofWebConnection
, using the HttpClient library to perform HTTP requests.class
A fakeWebConnection
designed to mock out the actual HTTP connections.Methods in org.htmlunit that return WebConnectionModifier and TypeMethodDescriptionWebClient.getWebConnection()
Returns the object that will resolve all URL requests.Methods in org.htmlunit with parameters of type WebConnectionModifier and TypeMethodDescriptionvoid
WebClient.setWebConnection
(WebConnection webConnection) Sets the object that will resolve all URL requests. -
Uses of WebConnection in org.htmlunit.util
Classes in org.htmlunit.util that implement WebConnectionModifier and TypeClassDescriptionclass
Wrapper around a "real" WebConnection that will use the wrapped web connection to do the real job and save all received responses in the temp directory with an overview page.
This may be useful at conception time to understand what is "browsed".
Example:class
Extension ofWebConnectionWrapper
providing facility methods to deliver something other than what the wrapped connection would deliver.class
Provides a convenient implementation of theWebConnection
interface that can be subclassed by developers wishing to adapt a particular WebConnection.Methods in org.htmlunit.util that return WebConnectionModifier and TypeMethodDescriptionWebConnectionWrapper.getWrappedWebConnection()
Gets the wrappedWebConnection
.Constructors in org.htmlunit.util with parameters of type WebConnectionModifierConstructorDescriptionDebuggingWebConnection
(WebConnection webConnection, String dirName) Wraps a web connection to have a report generated of the received responses.FalsifyingWebConnection
(WebConnection webConnection) Constructs a WebConnection object wrapping provided WebConnection.WebConnectionWrapper
(WebConnection webConnection) Constructs a WebConnection object wrapping provided WebConnection.