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

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

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The data class for HTTP headers in HTTP server communications.

Public Properties

| Property | Defined By
--- | --- | ---
|  | name : String The name of the header. | HTTPHeader
|  | value : String The value for the header. | HTTPHeader

Public Methods

| Method | Defined By
--- | --- | ---
|  | HTTPHeader(name:String = null, value:String = null) Constructor. | HTTPHeader

Public Constants

| Constant | Defined By
--- | --- | ---
|  | CONTENT_TYPE : String = Content-type [static] The Content-type header. | HTTPHeader

Property Detail

name | property

`public var name:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The name of the header.

value | property |

`public var value:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The value for the header.

Constructor Detail

HTTPHeader | () | Constructor

`public function HTTPHeader(name:String = null, value:String = null)`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

Constructor.

Parameters

| `name:String` (default = `null`)`` — The name of the header.
| `value:String` (default = `null`)`` — The value for that header.

Constant Detail

CONTENT_TYPE | Constant

`public static const CONTENT_TYPE:String = Content-type`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The Content-type header.

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