Package: | Ext.data |
Class: | HttpProxy |
Extends: | Object |
Defined In: | HttpProxy.js |
Note that this class cannot be used to retrieve data from a domain other than the domain
from which the running page was served.
For cross-domain access to remote data, use an Ext.data.ScriptTagProxy.
Be aware that to enable the browser to parse an XML document, the server must set the Content-Type header to "text/xml".
方法 | 定义对象 | |
---|---|---|
HttpProxy(Object conn ) |
HttpProxy | |
load(Object params , Ext.data.DataReader) reader , Function callback , Object scope , Object arg ) : void |
HttpProxy | |
Load data from the configured Ext.data.Connection, read the data object into a block of Ext.data.Records using the pa... |
public function HttpProxy(Object conn
)
conn
: Objectpublic function load(Object params
, Ext.data.DataReader) reader
, Function callback
, Object scope
, Object arg
)
params
: Objectreader
: Ext.data.DataReader)callback
: Functionscope
: Objectarg
: Objectvoid