Paket | com.adobe.dct.util |
Klass | public class HTTPUtil |
Arv | HTTPUtil Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Data Dictionary Building Block 9.5 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Metod | Definieras med | ||
---|---|---|---|
HTTPUtil()
Constructor. | HTTPUtil | ||
[statisk]
Retrieves the context that follows the base of the URL.
For example, http://www.adobe.com/snc?x=1&y=2 returns /snc.
| HTTPUtil | ||
[statisk]
Retrieves the current host name.
For example, http://www.adobe.com/?x=1&y=2 returns www.adobe.com.
| HTTPUtil | ||
[statisk]
Retrieves a URL parameter value by name and returns it as a string. | HTTPUtil | ||
[statisk]
Retrieves the current port for the URL. | HTTPUtil | ||
[statisk]
Retrieves the current protocol, such as http: or https:. | HTTPUtil | ||
[statisk]
Retrieves the current URL of the application used to play the SWF file. | HTTPUtil | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object |
HTTPUtil | () | Konstruktor |
public function HTTPUtil()
Språkversion: | ActionScript 3.0 |
Produktversion: | Data Dictionary Building Block 9.5 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Constructor.
getContext | () | metod |
public static function getContext():String
Språkversion: | ActionScript 3.0 |
Produktversion: | Data Dictionary Building Block 9.5 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Retrieves the context that follows the base of the URL.
For example, http://www.adobe.com/snc?x=1&y=2
returns /snc
.
String — The context that follows the base of the URL.
|
getHostName | () | metod |
public static function getHostName():String
Språkversion: | ActionScript 3.0 |
Produktversion: | Data Dictionary Building Block 9.5 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Retrieves the current host name.
For example, http://www.adobe.com/?x=1&y=2
returns www.adobe.com.
String — The current host name.
|
getParameterValue | () | metod |
public static function getParameterValue(key:String):String
Språkversion: | ActionScript 3.0 |
Produktversion: | Data Dictionary Building Block 9.5 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Retrieves a URL parameter value by name and returns it as a string. This function works without passing a FlashVars property into the SWF.
For example, even if the URL is domain.com?MyFlexPage.html?b=5
, it still returns 5
when 'b'
is passed.
This function uses JavaScript to find the URL parameters. Please note, however, that it only works for a GET request. It does not work for a POST request.
Parametrar
key:String — the url parameter key
|
String — The URL parameter value by name, as a string.
|
getPort | () | metod |
getProtocol | () | metod |
public static function getProtocol():String
Språkversion: | ActionScript 3.0 |
Produktversion: | Data Dictionary Building Block 9.5 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Retrieves the current protocol, such as http:
or https:
.
String — The current protocol, such as http: or https:.
|
getUrl | () | metod |
public static function getUrl():String
Språkversion: | ActionScript 3.0 |
Produktversion: | Data Dictionary Building Block 9.5 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Retrieves the current URL of the application used to play the SWF file. For example, Adobe Flash Player.
ReturnerarString — The current URL of the SWF player.
|
Tue Jun 12 2018, 01:40 PM Z