Pakket | com.adobe.dct.util |
Klasse | public class HTTPUtil |
Overerving | HTTPUtil Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Data Dictionary Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 10.2 |
Methode | Gedefinieerd door | ||
---|---|---|---|
HTTPUtil()
Constructor. | HTTPUtil | ||
[statisch]
Retrieves the context that follows the base of the URL.
For example, http://www.adobe.com/snc?x=1&y=2 returns /snc.
| HTTPUtil | ||
[statisch]
Retrieves the current host name.
For example, http://www.adobe.com/?x=1&y=2 returns www.adobe.com.
| HTTPUtil | ||
[statisch]
Retrieves a URL parameter value by name and returns it as a string. | HTTPUtil | ||
[statisch]
Retrieves the current port for the URL. | HTTPUtil | ||
[statisch]
Retrieves the current protocol, such as http: or https:. | HTTPUtil | ||
[statisch]
Retrieves the current URL of the application used to play the SWF file. | HTTPUtil | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
HTTPUtil | () | Constructor |
public function HTTPUtil()
Taalversie: | ActionScript 3.0 |
Productversie: | Data Dictionary Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 10.2 |
Constructor.
getContext | () | methode |
public static function getContext():String
Taalversie: | ActionScript 3.0 |
Productversie: | Data Dictionary Building Block 9.5 |
Runtimeversies: | 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 | () | methode |
public static function getHostName():String
Taalversie: | ActionScript 3.0 |
Productversie: | Data Dictionary Building Block 9.5 |
Runtimeversies: | 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 | () | methode |
public static function getParameterValue(key:String):String
Taalversie: | ActionScript 3.0 |
Productversie: | Data Dictionary Building Block 9.5 |
Runtimeversies: | 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.
Parameters
key:String — the url parameter key
|
String — The URL parameter value by name, as a string.
|
getPort | () | methode |
getProtocol | () | methode |
public static function getProtocol():String
Taalversie: | ActionScript 3.0 |
Productversie: | Data Dictionary Building Block 9.5 |
Runtimeversies: | 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 | () | methode |
public static function getUrl():String
Taalversie: | ActionScript 3.0 |
Productversie: | Data Dictionary Building Block 9.5 |
Runtimeversies: | AIR (unsupported), Flash Player 10.2 |
Retrieves the current URL of the application used to play the SWF file. For example, Adobe Flash Player.
Geretourneerde waardeString — The current URL of the SWF player.
|
Wed Jun 13 2018, 11:42 AM Z