Packagecom.curlyben.net
Classpublic class HTTPHeader

A simple single HTTP header object.



Public Properties
 PropertyDefined by
  Name : String
The header name.
HTTPHeader
  Value : String
The header value.
HTTPHeader
Public Methods
 MethodDefined by
  
HTTPHeader(name:String = "", value:String = "")
Creates a HTTPHeader from a pair of strings.
HTTPHeader
  
Make(fullheader:String):HTTPHeader
[static] Returns a new HTTPHeader from a normally formatted header line.
HTTPHeader
Property detail
Nameproperty
Name:String  [read-write]

The header name.

Implementation
    public function get Name():String
    public function set Name(value:String):void
Valueproperty 
Value:String  [read-write]

The header value.

Implementation
    public function get Value():String
    public function set Value(value:String):void
Constructor detail
HTTPHeader()constructor
public function HTTPHeader(name:String = "", value:String = "")

Creates a HTTPHeader from a pair of strings.

Parameters
name:String (default = "") — The header name.
 
value:String (default = "") — The header value.
Method detail
Make()method
public static function Make(fullheader:String):HTTPHeader

Returns a new HTTPHeader from a normally formatted header line.

Parameters
fullheader:String — A single line from a requests headers.

Returns
HTTPHeader — A new HTTPHeader built form the input string.