flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [1/5] git commit: [flex-asjs] [refs/heads/develop] - added statusText for JS
Date Sun, 19 Mar 2017 05:59:49 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop ae7d5b743 -> 7cd690da5


added statusText for JS


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8daf726a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8daf726a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8daf726a

Branch: refs/heads/develop
Commit: 8daf726a58e0a8495c92193cdc9cc36c4ba8cf65
Parents: ae7d5b7
Author: Justin Mclean <jmclean@apache.org>
Authored: Sun Mar 19 15:16:14 2017 +1100
Committer: Justin Mclean <jmclean@apache.org>
Committed: Sun Mar 19 15:16:14 2017 +1100

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/net/HTTPService.as    | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8daf726a/frameworks/projects/Network/src/main/flex/org/apache/flex/net/HTTPService.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/flex/org/apache/flex/net/HTTPService.as
b/frameworks/projects/Network/src/main/flex/org/apache/flex/net/HTTPService.as
index 95ce908..13c5a9c 100644
--- a/frameworks/projects/Network/src/main/flex/org/apache/flex/net/HTTPService.as
+++ b/frameworks/projects/Network/src/main/flex/org/apache/flex/net/HTTPService.as
@@ -316,6 +316,18 @@ package org.apache.flex.net
 		{
 			return _status;
 		}
+
+        /**
+         *
+         *  Status text contains more information about the HTTP request made.
+         *
+         *  @productversion FlexJS 0.8
+         */
+        COMPILE::JS
+        public function get statusText():String
+        {
+            return (element as XMLHttpRequest).statusText;
+        }
 		
 		private var _url:String;
 


Mime
View raw message