| 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 in the HTTP response to "text/xml".
| Method | Defined By | |
|---|---|---|
HttpProxy( Object conn ) |
HttpProxy | |
| getConnection() : Connection | HttpProxy | |
| Return the Ext.data.Connection object being used by this Proxy. | ||
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 getConnection()
Connectionpublic function load( Object params, Ext.data.DataReader reader, Function callback, Object scope, Object arg )
params : Objectreader : Ext.data.DataReadercallback : Functionscope : Objectarg : Objectvoid