1 /* ************************************************************************
3 qooxdoo - the new era of web development
8 2004-2006 by 1&1 Internet AG, Germany, http://www.1and1.org
11 LGPL 2.1: http://www.gnu.org/licenses/lgpl.html
14 * Sebastian Werner (wpbasti)
15 * Andreas Ecker (ecker)
17 ************************************************************************ */
19 /* ************************************************************************
23 ************************************************************************ */
25 qx.OO.defineClass("qx.io.remote.Response", qx.core.Target,
27 qx.core.Target.call(this);
34 ---------------------------------------------------------------------------
36 ---------------------------------------------------------------------------
39 qx.OO.addProperty({ name : "state", type : "number" });
41 Status code of the response.
43 qx.OO.addProperty({ name : "statusCode", type : "number" });
44 qx.OO.addProperty({ name : "content" });
45 qx.OO.addProperty({ name : "responseHeaders", type : "object" });
54 ---------------------------------------------------------------------------
56 ---------------------------------------------------------------------------
60 qx.Proto._modifyResponseHeaders = function(propValue, propOldValue, propData)
62 for (vKey in propValue) {
63 this.debug("R-Header: " + vKey + "=" + propValue[vKey]);
77 ---------------------------------------------------------------------------
79 ---------------------------------------------------------------------------
82 qx.Proto.getResponseHeader = function(vHeader)
84 var vAll = this.getResponseHeaders();
86 return vAll[vHeader] || null;
98 ---------------------------------------------------------------------------
100 ---------------------------------------------------------------------------
103 qx.Proto.dispose = function()
105 if (this.getDisposed()) {
109 return qx.core.Target.prototype.dispose.call(this);