4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <title>The source code</title>
6 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
7 <script type="text/javascript" src="../resources/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'>/**
19 </span> * @author Ed Spencer
21 * Simple class that represents a Request that will be made by any {@link Ext.data.proxy.Server} subclass.
22 * All this class does is standardize the representation of a Request as used by any ServerProxy subclass,
23 * it does not contain any actual logic or perform the request itself.
25 Ext.define('Ext.data.Request', {
26 <span id='Ext-data-Request-cfg-action'> /**
27 </span> * @cfg {String} action
28 * The name of the action this Request represents. Usually one of 'create', 'read', 'update' or 'destroy'.
32 <span id='Ext-data-Request-cfg-params'> /**
33 </span> * @cfg {Object} params
34 * HTTP request params. The Proxy and its Writer have access to and can modify this object.
38 <span id='Ext-data-Request-cfg-method'> /**
39 </span> * @cfg {String} method
40 * The HTTP method to use on this Request. Should be one of 'GET', 'POST', 'PUT' or 'DELETE'.
44 <span id='Ext-data-Request-cfg-url'> /**
45 </span> * @cfg {String} url
46 * The url to access on this Request
50 <span id='Ext-data-Request-method-constructor'> /**
51 </span> * Creates the Request object.
52 * @param {Object} [config] Config object.
54 constructor: function(config) {
55 Ext.apply(this, config);