Package | Description |
---|---|
com.gargoylesoftware.htmlunit |
Framework classes
|
com.gargoylesoftware.htmlunit.util |
Misc utilities
|
Modifier and Type | Class and Description |
---|---|
class |
HttpWebConnection
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
An object that handles the actual communication portion of page retrieval/submission |
class |
MockWebConnection
A fake WebConnection designed to mock out the actual http connections.
|
class |
WebConnectionImpl
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
An object that handles the actual communication portion of page retrieval/submission. |
Modifier and Type | Method and Description |
---|---|
WebConnection |
WebClient.getWebConnection()
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
Modifier and Type | Method and Description |
---|---|
void |
WebClient.setWebConnection(WebConnection webConnection)
Set the object that will resolve all url requests
This method is intended for unit testing HtmlUnit itself.
|
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.
This may be useful at conception time to understand what is "browsed". Example: |
class |
FalsifyingWebConnection
Extension of
WebConnectionWrapper providing facility methods to deliver something else 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. |
Constructor and Description |
---|
DebuggingWebConnection(WebConnection webConnection,
String reportBaseName)
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-2012 Gargoyle Software Inc.. All Rights Reserved.