Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
HTTPConstants

Package | org.apache.flex.net
Class | public final class HTTPConstants
Inheritance | HTTPConstants Object

Public Methods

| Method | Defined By
--- | --- | ---
|  | HTTPConstants() | HTTPConstants

Public Constants

| Constant | Defined By
--- | --- | ---
|  | COMMUNICATION_ERROR : String = communicationError [static] Dispatched if an error occurs in the server communication. | HTTPConstants
|  | COMPLETE : String = complete [static] Dispatched when the request is complete. | HTTPConstants
|  | DELETE : String = DELETE [static] | HTTPConstants
|  | GET : String = GET [static] | HTTPConstants
|  | IO_ERROR : String = ioError [static] Detail of an error occurring in the server communication. | HTTPConstants
|  | OPEN : String = open [static] Dispatched when the connection is opened. | HTTPConstants
|  | POST : String = POST [static] | HTTPConstants
|  | PUT : String = PUT [static] | HTTPConstants
|  | RESPONSE_STATUS : String = httpResponseStatus [static] Dispatched if Adobe AIR is able to detect and return the status code for the request. | HTTPConstants
|  | SECURITY_ERROR : String = securityError [static] Detail of a security error occurs in the server communication. | HTTPConstants
|  | STATUS : String = httpStatus [static] Dispatched when an httpStatus code is received from the server. | HTTPConstants

Constructor Detail

HTTPConstants | () | Constructor

`public function HTTPConstants()`

Constant Detail

COMMUNICATION_ERROR | Constant

`public static const COMMUNICATION_ERROR:String = communicationError`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Dispatched if an error occurs in the server communication.

COMPLETE | Constant |

`public static const COMPLETE:String = complete`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Dispatched when the request is complete.

DELETE | Constant |

`public static const DELETE:String = DELETE`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

GET | Constant |

`public static const GET:String = GET`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

IO_ERROR | Constant |

`public static const IO_ERROR:String = ioError`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Detail of an error occurring in the server communication. (Flash only)

OPEN | Constant |

`public static const OPEN:String = open`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Dispatched when the connection is opened.

POST | Constant |

`public static const POST:String = POST`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

PUT | Constant |

`public static const PUT:String = PUT`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

RESPONSE_STATUS | Constant |

`public static const RESPONSE_STATUS:String = httpResponseStatus`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Dispatched if Adobe AIR is able to detect and return the status code for the request. Unlike the httpStatus event, the httpResponseStatus event is delivered before any response data. Also, the httpResponseStatus event includes values for the responseHeaders and responseURL properties (which are undefined for an httpStatus event. Note that the httpResponseStatus event (if any) will be sent before (and in addition to) any complete or error event.

SECURITY_ERROR | Constant |

`public static const SECURITY_ERROR:String = securityError`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Detail of a security error occurs in the server communication. (Flash only)

STATUS | Constant |

`public static const STATUS:String = httpStatus`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Dispatched when an httpStatus code is received from the server.

Mon Sep 5 2016, 07:19 AM -07:00