Package: | Ext.data |
Defined In: | Request.js |
Class: | Request |
Extends: | Object |
Simple class that represents a Request that will be made by any Ext.data.ServerProxy subclass. All this class does is standardize the representation of a Request as used by any ServerProxy subclass, it does not contain any actual logic or perform the request itself.
Config Options | Defined By | |
---|---|---|
action : String The name of the action this Request represents. Usually one of 'create', 'read', 'update' or 'destroy' | Request | |
method : String The HTTP method to use on this Request (defaults to 'GET'). Should be one of 'GET', 'POST', 'PUT' or 'DELETE' | Request | |
params : Object HTTP request params. The Proxy and its Writer have access to and can modify this object. | Request | |
url : String The url to access on this Request | Request |