Uses of Interface
org.htmlunit.WebConnection
-
Packages that use WebConnection Package Description org.htmlunit Framework classes (contains theWebClient
class which is the main entry point).org.htmlunit.util Miscellaneous utilities. -
-
Uses of WebConnection in org.htmlunit
Classes in org.htmlunit that implement WebConnection Modifier and Type Class Description class
HttpWebConnection
Default implementation ofWebConnection
, using the HttpClient library to perform HTTP requests.class
MockWebConnection
A fakeWebConnection
designed to mock out the actual HTTP connections.Methods in org.htmlunit that return WebConnection Modifier and Type Method Description WebConnection
WebClient. getWebConnection()
Returns the object that will resolve all URL requests.Methods in org.htmlunit with parameters of type WebConnection Modifier and Type Method Description void
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 WebConnection Modifier and Type Class Description class
DebuggingWebConnection
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
FalsifyingWebConnection
Extension ofWebConnectionWrapper
providing facility methods to deliver something other than what the wrapped connection would deliver.class
WebConnectionWrapper
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 WebConnection Modifier and Type Method Description WebConnection
WebConnectionWrapper. getWrappedWebConnection()
Gets the wrappedWebConnection
.Constructors in org.htmlunit.util with parameters of type WebConnection Constructor Description DebuggingWebConnection(WebConnection webConnection, java.lang.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.
-