public abstract class WebConnectionImpl extends Object implements WebConnection
| Constructor and Description |
|---|
WebConnectionImpl(WebClient webClient)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Creates a new web connection instance. |
| Modifier and Type | Method and Description |
|---|---|
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 org.apache.commons.httpclient.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. |
public WebConnectionImpl(WebClient webClient)
webClient - The WebClient that is using this connection.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 org.apache.commons.httpclient.HttpState getState()
HttpState that is being used.getState in interface WebConnectionCopyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.