diff options
Diffstat (limited to 'webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/io/remote/Response.js')
-rw-r--r-- | webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/io/remote/Response.js | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/io/remote/Response.js b/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/io/remote/Response.js deleted file mode 100644 index 7668c921d5..0000000000 --- a/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/class/qx/io/remote/Response.js +++ /dev/null @@ -1,112 +0,0 @@ -/* ************************************************************************ - - qooxdoo - the new era of web development - - http://qooxdoo.org - - Copyright: - 2004-2007 1&1 Internet AG, Germany, http://www.1and1.org - - License: - LGPL: http://www.gnu.org/licenses/lgpl.html - EPL: http://www.eclipse.org/org/documents/epl-v10.php - See the LICENSE file in the project's top-level directory for details. - - Authors: - * Sebastian Werner (wpbasti) - * Andreas Ecker (ecker) - -************************************************************************ */ - -/* ************************************************************************ - -#module(io_remote) - -************************************************************************ */ - -qx.OO.defineClass("qx.io.remote.Response", qx.core.Target, -function() { - qx.core.Target.call(this); -}); - - - - -/* ---------------------------------------------------------------------------- - PROPERTIES ---------------------------------------------------------------------------- -*/ - -qx.OO.addProperty({ name : "state", type : "number" }); -/*! - Status code of the response. -*/ -qx.OO.addProperty({ name : "statusCode", type : "number" }); -qx.OO.addProperty({ name : "content" }); -qx.OO.addProperty({ name : "responseHeaders", type : "object" }); - - - - - - - -/* ---------------------------------------------------------------------------- - MODIFIERS ---------------------------------------------------------------------------- -*/ - -/* -qx.Proto._modifyResponseHeaders = function(propValue, propOldValue, propData) -{ - for (vKey in propValue) { - this.debug("R-Header: " + vKey + "=" + propValue[vKey]); - } - - return true; -} -*/ - - - - - - - -/* ---------------------------------------------------------------------------- - USER METHODS ---------------------------------------------------------------------------- -*/ - -qx.Proto.getResponseHeader = function(vHeader) -{ - var vAll = this.getResponseHeaders(); - if (vAll) { - return vAll[vHeader] || null; - } - - return null; -} - - - - - - -/* ---------------------------------------------------------------------------- - DISPOSER ---------------------------------------------------------------------------- -*/ - -qx.Proto.dispose = function() -{ - if (this.getDisposed()) { - return; - } - - return qx.core.Target.prototype.dispose.call(this); -} |