You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2017/04/21 16:35:40 UTC
[16/43] git commit: [flex-asjs] [refs/heads/dual] - fill in missing
comments
fill in missing comments
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/c57d7754
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/c57d7754
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/c57d7754
Branch: refs/heads/dual
Commit: c57d7754009607ed8eae3eebc1edc5a69a1fe12c
Parents: 18d62de
Author: Justin Mclean <jm...@apache.org>
Authored: Sun Apr 16 10:41:19 2017 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Sun Apr 16 10:41:19 2017 +1000
----------------------------------------------------------------------
.../main/flex/org/apache/flex/net/URLRequest.as | 30 ++++++++++++++++++--
1 file changed, 27 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c57d7754/frameworks/projects/Network/src/main/flex/org/apache/flex/net/URLRequest.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/flex/org/apache/flex/net/URLRequest.as b/frameworks/projects/Network/src/main/flex/org/apache/flex/net/URLRequest.as
index 389531f..3c39f50 100644
--- a/frameworks/projects/Network/src/main/flex/org/apache/flex/net/URLRequest.as
+++ b/frameworks/projects/Network/src/main/flex/org/apache/flex/net/URLRequest.as
@@ -71,7 +71,15 @@ package org.apache.flex.net
*/
public var method:String = HTTPConstants.GET;
private var _requestHeaders:Array;
-
+
+ /**
+ * Set the URL request string.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.7.0
+ */
public function URLRequest(url:String = null)
{
super();
@@ -81,12 +89,28 @@ package org.apache.flex.net
}
this.requestHeaders = [];
}
-
+
+ /**
+ * Set the URL request headers.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.7.0
+ */
public function get requestHeaders():Array
{
return _requestHeaders;
}
-
+
+ /**
+ * Get the URL request headers.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.7.0
+ */
public function set requestHeaders(value:Array) : void
{
_requestHeaders = value;