/// <summary> /// Prepares a Proxy's Ext.data.Request object /// @param {Ext.data.Request} request The request object /// @return {Ext.data.Request} The modified request object /// </summary> public Request write(Request request){return null;}
/// <summary> /// Get the url for the request taking into account the order of priority, /// - The request /// - The api /// - The url /// @private /// @param {Ext.data.Request} request The request /// @return {String} The url /// </summary> public JsString getUrl(Request request){return null;}
/// <summary> /// Generates a url based on a given Ext.data.Request object. By default, ServerProxy's buildUrl will add the /// cache-buster param to the end of the url. Subclasses may need to perform additional modifications to the url. /// @param {Ext.data.Request} request The request object /// @return {String} The url /// </summary> public JsString buildUrl(Request request){return null;}
/// <summary> /// @private /// Creates and returns the function that is called when the request has completed. The returned function /// should accept a Response object, which contains the response to be read by the configured Reader. /// The third argument is the callback that should be called after the request has been completed and the Reader has decoded /// the response. This callback will typically be the callback passed by a store, e.g. in proxy.read(operation, theCallback, scope) /// theCallback refers to the callback argument received by this function. /// See {@link #doRequest} for details. /// @param {Ext.data.Request} request The Request object /// @param {Ext.data.Operation} operation The Operation being executed /// @param {Function} callback The callback function to be called when the request completes. This is usually the callback /// passed to doRequest /// @param {Object} scope The scope in which to execute the callback function /// @return {Function} The callback function /// </summary> public JsAction createRequestCallback(Request request, Operation operation, JsAction callback, object scope){return null;}
/// <summary> /// Returns the HTTP method name for a given request. By default this returns based on a lookup on /// {@link #actionMethods}. /// @param {Ext.data.Request} request The request object /// @return {String} The HTTP method to use (should be one of 'GET', 'POST', 'PUT' or 'DELETE') /// </summary> public JsString getMethod(Request request){return null;}
/// <summary> /// @private /// Starts a timer with the value of this.timeout - if this fires it means the request took too long so we /// cancel the request. If the request was successful this timer is cancelled by this.afterRequest /// @param {Ext.data.Request} request The Request to handle /// </summary> public void createTimeoutHandler(Request request, object operation){}