| Pacchetto | com.adobe.dct.util |
| Classe | public class HTTPUtil |
| Ereditarietà | HTTPUtil Object |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Blocco costitutivo Data Dictionary 9.5 |
| Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
| Metodo | Definito da | ||
|---|---|---|---|
HTTPUtil()
Constructor. | HTTPUtil | ||
[statico]
Retrieves the context that follows the base of the URL.
For example, http://www.adobe.com/snc?x=1&y=2 returns /snc.
| HTTPUtil | ||
[statico]
Retrieves the current host name.
For example, http://www.adobe.com/?x=1&y=2 returns www.adobe.com.
| HTTPUtil | ||
[statico]
Retrieves a URL parameter value by name and returns it as a string. | HTTPUtil | ||
[statico]
Retrieves the current port for the URL. | HTTPUtil | ||
[statico]
Retrieves the current protocol, such as http: or https:. | HTTPUtil | ||
[statico]
Retrieves the current URL of the application used to play the SWF file. | HTTPUtil | ||
![]() |
Indica se per un oggetto è definita una proprietà specifica. | Object | |
![]() |
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | |
![]() |
Indica se la proprietà specificata esiste ed è enumerabile. | Object | |
![]() |
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | |
![]() |
Restituisce il valore di base dell'oggetto specificato. | Object | |
HTTPUtil | () | Funzione di costruzione |
public function HTTPUtil()| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Blocco costitutivo Data Dictionary 9.5 |
| Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Constructor.
getContext | () | metodo |
public static function getContext():String| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Blocco costitutivo Data Dictionary 9.5 |
| Versioni runtime: | 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 | () | metodo |
public static function getHostName():String| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Blocco costitutivo Data Dictionary 9.5 |
| Versioni runtime: | 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 | () | metodo |
public static function getParameterValue(key:String):String| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Blocco costitutivo Data Dictionary 9.5 |
| Versioni runtime: | 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.
Parametri
key:String — the url parameter key
|
String — The URL parameter value by name, as a string.
|
getPort | () | metodo |
getProtocol | () | metodo |
public static function getProtocol():String| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Blocco costitutivo Data Dictionary 9.5 |
| Versioni runtime: | 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 | () | metodo |
public static function getUrl():String| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Blocco costitutivo Data Dictionary 9.5 |
| Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Retrieves the current URL of the application used to play the SWF file. For example, Adobe Flash Player.
RestituisceString — The current URL of the SWF player.
|
Tue Jun 12 2018, 02:44 PM Z
Nascondi proprietà pubbliche ereditate
Mostra proprietà pubbliche ereditate