Properties Methods Events Config Options Direct Link
Observable
  Proxy
    ServerProxy
      AjaxProxy

Class Ext.data.AjaxProxy

Package:Ext.data
Defined In:AjaxProxy.js
Class:AjaxProxy
Subclasses:RestProxy
Extends:ServerProxy

An implementation of Ext.data.Proxy that processes data requests within the same domain of the originating page.

Note: 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 requests, use a 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".

Config Options

Config OptionsDefined By
 cacheString : String
The name of the cache param added to the url when using noCache (defaults to "_dc")
ServerProxy
 defaultReaderType : String
The default registered reader type. Defaults to 'json'
Proxy
 defaultWriterType : String
The default registered writer type. Defaults to 'json'
Proxy
 headers : Object
Any headers to add to the Ajax request. Defaults to undefined.
AjaxProxy
 noCache : Boolean
Defaults to true. Disable caching by adding a unique parameter name to the request.
ServerProxy
 timeout : Number
The number of milliseconds to wait for a response. Defaults to 30 seconds.
ServerProxy
 url : String
The URL from which to request the data object.
ServerProxy

Public Properties

PropertyDefined By

Public Methods

MethodDefined By

Public Events

EventDefined By