lz.HTTPDataRequest
A class to represent HTTP data requests.

JavaScript: lz.HTTPDataRequest
extends lz.DataRequest » lz.Eventable »

lz.HTTPDataRequest implements the DataRequest interface, to support HTTP data requests.

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
cacheable   Boolean   read/write
  Flag to say whether data is cacheable at the server
clientcacheable   Boolean   read/write
  Flag to say whether data is cacheable at the client (browser)
getresponseheaders   Boolean   read/write
  Flag to say whether proxied server should return with HTTP response metadata added.
loadstarttime   Number   read/write
   
loadtime   Number   read/write
  Time taken by load, in milliseconds
method   String   read/write
   
multirequest   Boolean   read/write
   
nsprefix   Boolean   read/write
  Flag to say whether namespace prefixes on element and attribute names is preserved in XML data
parsexml   Boolean   read/write
  Flag which says if the loader should attempt to parse the response as XML
postbody   String   read/write
   
proxied   Boolean   read/write
   
proxyurl   String   read/write
   
queryparams   lz.params   read/write
  An LzParam object which holds query key-value pairs.
queuerequests   Boolean   read/write
   
requestheaders   lz.params   read/write
  An LzParam object which holds HTTP request headers as key-value pairs.
responseheaders   lz.params   read/write
  An LzParam object which holds HTTP response headers
secure   Boolean   read/write
   
secureport   uint   read/write
   
serverproxyargs   Object   read/write
  A hashtable object of extra args to be sent along with the LPS server proxy control args.
trimwhitespace   Boolean   read/write
  Flag to say whether whitespace should be trimmed from text element data in returned XML data
xmldata   lz.DataNodeMixin   read/write
  The LZX DOM element containing the loaded data

Attributes inherited from lz.DataRequest

error, rawdata, requestor, src, status, timeout

Methods

LzHTTPDataRequest()
lz.HTTPDataRequest.LzHTTPDataRequest(requestor);
Parameter Name Type Description
requestor    

Methods inherited from lz.DataRequest

LzDataRequest

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from lz.DataRequest

onstatus

Events inherited from lz.Eventable

ondestroy