您的位置:首页 > 理论基础 > 计算机网络

HttpDataRequest & HttpDataProvider & lz.Params

2010-10-26 11:50 387 查看
lz.HTTPDataRequest
implements the DataRequest interface, to support HTTP data requests.

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.

lz.params

lz.Param provides utilities for manipulating name-value pairs.
For example, lz.Param objects can be used to manage a name/value pairs for an
HTTP request.


var p=new lz.Param();

p.addValue( "action", action, true);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: