Package: | Ext.data |
Defined In: | HttpProxy.js |
Class: | HttpProxy |
Extends: | Object |
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 in the HTTP response to "text/xml".
Method | Defined By | |
---|---|---|
HttpProxy( Object conn )
Parameters:
|
HttpProxy | |
getConnection() : Connection Return the Ext.data.Connection object being used by this Proxy.
Return the Ext.data.Connection object being used by this Proxy.
Parameters:
|
HttpProxy | |
load( Object params , Ext.data.DataReader reader , Function callback , Object scope , Object arg ) : void Load data from the configured Ext.data.Connection, read the data object into
a block of Ext.data.Records using the pa...
Load data from the configured Ext.data.Connection, read the data object into
a block of Ext.data.Records using the passed Ext.data.DataReader implementation, and
process that block using the passed callback.
Parameters:
|
HttpProxy |