lz.HTTPDataProvider
DataProvider which implements HTTP request transport

JavaScript: lz.HTTPDataProvider
extends lz.DataProvider » lz.Eventable »

lz.HTTPDataProvider implements the DataProvider interface, to support HTTP data requests.

Requests are submitted using the doRequest, passing a request object of type lz.HTTPDataRequest. And instance of lz.HTTPDataProvider is the default data provider for the runtime, and is what is used by <dataset> to load data.

onstatus: Sent to a datarequest to update the status of the request.

Methods

abortLoadForRequest()
lz.HTTPDataProvider.abortLoadForRequest(dreq : lz.DataRequest);
Interrupts any load in progress for the given dataset.
Parameter Name Type Description
dreq lz.DataRequest The data request for which to interrupt the load.

doRequest()
lz.HTTPDataProvider.doRequest(dreq);
Parameter Name Type Description
dreq    

LzHTTPDataProvider()
lz.HTTPDataProvider.LzHTTPDataProvider();

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from lz.Eventable

ondestroy