4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <title>The source code</title>
6 <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
7 <script type="text/javascript" src="../prettify/prettify.js"></script>
8 <style type="text/css">
9 .highlight { display: block; background-color: #ddd; }
11 <script type="text/javascript">
12 function highlight() {
13 document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
17 <body onload="prettyPrint(); highlight();">
18 <pre class="prettyprint lang-js"><span id='Ext-data-Request-method-constructor'><span id='Ext-data-Request'>/**
19 </span></span> * @author Ed Spencer
20 * @class Ext.data.Request
23 * <p>Simple class that represents a Request that will be made by any {@link Ext.data.proxy.Server} subclass.
24 * All this class does is standardize the representation of a Request as used by any ServerProxy subclass,
25 * it does not contain any actual logic or perform the request itself.</p>
28 * @param {Object} config Optional config object
30 Ext.define('Ext.data.Request', {
31 <span id='Ext-data-Request-cfg-action'> /**
32 </span> * @cfg {String} action The name of the action this Request represents. Usually one of 'create', 'read', 'update' or 'destroy'
36 <span id='Ext-data-Request-cfg-params'> /**
37 </span> * @cfg {Object} params HTTP request params. The Proxy and its Writer have access to and can modify this object.
41 <span id='Ext-data-Request-cfg-method'> /**
42 </span> * @cfg {String} method The HTTP method to use on this Request (defaults to 'GET'). Should be one of 'GET', 'POST', 'PUT' or 'DELETE'
46 <span id='Ext-data-Request-cfg-url'> /**
47 </span> * @cfg {String} url The url to access on this Request
51 constructor: function(config) {
52 Ext.apply(this, config);