| java.lang.Object org.openlaszlo.data.Data org.openlaszlo.data.HttpData
HttpData | public class HttpData extends Data (Code) | | A class for holding on to results of an Http fetch.
author: Eric Bloch |
Field Summary | |
final public int | code | final public HttpMethodBase | request |
Constructor Summary | |
public | HttpData(HttpMethodBase r, int c) |
code | final public int code(Code) | | response code
|
request | final public HttpMethodBase request(Code) | | Http request
|
HttpData | public HttpData(HttpMethodBase r, int c)(Code) | | Parameters: r - filled request Parameters: c - response code |
getRequest | HttpMethodBase getRequest()(Code) | | |
getXMLDeclaration | String getXMLDeclaration(byte buf)(Code) | | Returns the first non-whitespace line.
|
lastModified | public long lastModified()(Code) | | the lastModified time of the data |
notModified | public boolean notModified()(Code) | | true if the data was "not modified" |
release | public void release()(Code) | | release any resources associated with this data
|
size | public long size()(Code) | | size, if known |
|
|