org.webharvest.runtime.web
Class HttpInfo
java.lang.Object
org.webharvest.runtime.web.HttpInfo
public class HttpInfo
- extends java.lang.Object
Class offers access to HTTP client and response details to the user.
|
Constructor Summary |
HttpInfo(org.apache.commons.httpclient.HttpClient client)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
public org.apache.commons.httpclient.HttpClient client
contentLength
public long contentLength
charset
public java.lang.String charset
mimeType
public java.lang.String mimeType
headers
public KeyValuePair<java.lang.String>[] headers
statusCode
public int statusCode
statusText
public java.lang.String statusText
totalLength
public long totalLength
totalResponses
public int totalResponses
HttpInfo
public HttpInfo(org.apache.commons.httpclient.HttpClient client)
setResponse
public void setResponse(HttpResponseWrapper wrapper)
getHeader
public java.lang.String getHeader(java.lang.String key)
getHeaders
public java.lang.String[] getHeaders(java.lang.String key)