Uses of Interface
com.gargoylesoftware.htmlunit.WebConnection

Packages that use WebConnection
com.gargoylesoftware.htmlunit Framework classes 
com.gargoylesoftware.htmlunit.util Misc utilities 
 

Uses of WebConnection in com.gargoylesoftware.htmlunit
 

Classes in com.gargoylesoftware.htmlunit that implement WebConnection
 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.
 

Methods in com.gargoylesoftware.htmlunit that return WebConnection
 WebConnection WebClient.getWebConnection()
          INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
 

Methods in com.gargoylesoftware.htmlunit with parameters of type WebConnection
 void WebClient.setWebConnection(WebConnection webConnection)
          Set the object that will resolve all url requests

This method is intended for unit testing HtmlUnit itself.

 

Uses of WebConnection in com.gargoylesoftware.htmlunit.util
 

Classes in com.gargoylesoftware.htmlunit.util that implement WebConnection
 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.
 

Constructors in com.gargoylesoftware.htmlunit.util with parameters of type WebConnection
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-2010 Gargoyle Software Inc.. All Rights Reserved.