| |
|
| java.lang.Object com.gargoylesoftware.htmlunit.WebConnectionImpl
All known Subclasses: com.gargoylesoftware.htmlunit.MockWebConnection, com.gargoylesoftware.htmlunit.HttpWebConnection,
WebConnectionImpl | abstract public class WebConnectionImpl implements WebConnection(Code) | | 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.
version: $Revision: 2132 $ author: Mike Bowler author: Daniel Gredler author: Marc Guillemot |
Constructor Summary | |
public | WebConnectionImpl(WebClient webClient) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Creates a new web connection instance. |
Method Summary | |
abstract public WebResponse | getResponse(WebRequestSettings webRequestSettings) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Submits a request and retrieves a response.
Parameters: webRequestSettings - Settings to make the request with. | abstract public HttpState | getState() INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Return the
HttpState that is being used. | final public WebClient | getWebClient() INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Return the web client. |
WebConnectionImpl | public WebConnectionImpl(WebClient webClient)(Code) | | INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Creates a new web connection instance.
Parameters: webClient - The WebClient that is using this connection. |
getResponse | abstract public WebResponse getResponse(WebRequestSettings webRequestSettings) throws IOException(Code) | | INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Submits a request and retrieves a response.
Parameters: webRequestSettings - Settings to make the request with. The response to the request defined by the specified request settings. exception: IOException - If an IO error occurs. |
getState | abstract public HttpState getState()(Code) | | INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Return the
HttpState that is being used.
the state. |
getWebClient | final public WebClient getWebClient()(Code) | | INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Return the web client.
The web client. |
|
|
|