Package | Description |
---|---|
org.htmlunit |
Framework classes (contains the
WebClient
class which is the main entry point). |
org.htmlunit.util |
Miscellaneous utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpWebConnection
Default implementation of
WebConnection , using the HttpClient library to perform HTTP requests. |
class |
MockWebConnection
A fake
WebConnection designed to mock out the actual HTTP connections. |
Modifier and Type | Method and Description |
---|---|
WebConnection |
WebClient.getWebConnection()
Returns the object that will resolve all URL requests.
|
Modifier and Type | Method and Description |
---|---|
void |
WebClient.setWebConnection(WebConnection webConnection)
Sets the object that will resolve all URL requests.
|
Modifier and Type | Class and 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.
|
class |
FalsifyingWebConnection
Extension of
WebConnectionWrapper providing facility methods to deliver something other than
what the wrapped connection would deliver. |
class |
WebConnectionWrapper
Provides a convenient implementation of the
WebConnection interface that can be subclassed by developers
wishing to adapt a particular WebConnection. |
Modifier and Type | Method and Description |
---|---|
WebConnection |
WebConnectionWrapper.getWrappedWebConnection()
Gets the wrapped
WebConnection . |
Constructor and Description |
---|
DebuggingWebConnection(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.
|
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.