|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.WebConnectionImpl
public abstract 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.
| Constructor Summary | |
|---|---|
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 WebResponse |
getResponse(WebRequestSettings webRequestSettings)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. Submits a request and retrieves a response. |
abstract HttpState |
getState()
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. Return the HttpState that is being used. |
WebClient |
getWebClient()
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. Return the web client. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebConnectionImpl(WebClient webClient)
webClient - The WebClient that is using this connection.| Method Detail |
|---|
public abstract WebResponse getResponse(WebRequestSettings webRequestSettings)
throws IOException
getResponse in interface WebConnectionwebRequestSettings - Settings to make the request with.
IOException - If an IO error occurs.public final WebClient getWebClient()
getWebClient in interface WebConnectionpublic abstract HttpState getState()
HttpState that is being used.
getState in interface WebConnection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||