|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gargoylesoftware.htmlunit.WebConnectionImpl
com.gargoylesoftware.htmlunit.HttpWebConnection
public 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
Constructor Summary | |
---|---|
HttpWebConnection(WebClient webClient)
Create a new HTTP web connection instance. |
Method Summary | |
---|---|
WebResponse |
getResponse(WebRequestSettings webRequestSettings)
Submit a request and retrieve a response |
org.apache.commons.httpclient.HttpState |
getState()
Return the HttpState that is being used. |
java.lang.String |
getVirtualHost()
Get the virtual host |
void |
setVirtualHost(java.lang.String virtualHost)
set the virtual host |
Methods inherited from class com.gargoylesoftware.htmlunit.WebConnectionImpl |
---|
getWebClient |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpWebConnection(WebClient webClient)
webClient
- The WebClient that is using this connectionMethod Detail |
---|
public WebResponse getResponse(WebRequestSettings webRequestSettings) throws java.io.IOException
getResponse
in interface WebConnection
getResponse
in class WebConnectionImpl
webRequestSettings
- Settings to make the request with
java.io.IOException
- If an IO error occurspublic org.apache.commons.httpclient.HttpState getState()
HttpState
that is being used.
getState
in interface WebConnection
getState
in class WebConnectionImpl
public java.lang.String getVirtualHost()
public void setVirtualHost(java.lang.String virtualHost)
virtualHost
- The virtualHost to set.
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |