Uses of Interface
org.htmlunit.WebConnection
-
Packages that use WebConnection Package Description org.htmlunit Framework classes (contains theWebClientclass 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 classHttpWebConnectionDefault implementation ofWebConnection, using the HttpClient library to perform HTTP requests.classMockWebConnectionA fakeWebConnectiondesigned to mock out the actual HTTP connections.Methods in org.htmlunit that return WebConnection Modifier and Type Method Description WebConnectionWebClient. getWebConnection()Returns the object that will resolve all URL requests.Methods in org.htmlunit with parameters of type WebConnection Modifier and Type Method Description voidWebClient. 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 classDebuggingWebConnectionWrapper 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:classFalsifyingWebConnectionExtension ofWebConnectionWrapperproviding facility methods to deliver something other than what the wrapped connection would deliver.classWebConnectionWrapperProvides a convenient implementation of theWebConnectioninterface 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 WebConnectionWebConnectionWrapper. 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.
-