com.gargoylesoftware.htmlunit
Interface WebConnection

All Known Implementing Classes:
DebuggingWebConnection, FalsifyingWebConnection, HttpWebConnection, MockWebConnection, UrlFetchWebConnection, WebConnectionWrapper

public interface WebConnection

An object which handles the actual communication portion of page retrieval/submission.

Version:
$Revision: 5658 $
Author:
Mike Bowler, Daniel Gredler, Marc Guillemot

Method Summary
 WebResponse getResponse(WebRequest request)
          Submits a request and retrieves a response.
 

Method Detail

getResponse

WebResponse getResponse(WebRequest request)
                        throws IOException
Submits a request and retrieves a response.

Parameters:
request - the request
Returns:
the response to the request defined by the specified request
Throws:
IOException - if an IO error occurs


Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.