Packagecom.aispeech.net.http
Classpublic class AIHttpResponse
InheritanceAIHttpResponse Inheritance Object



Public Properties
 PropertyDefined By
  code : String
[read-only]
AIHttpResponse
  content : ByteArray
AIHttpResponse
  contentLength : Number
[read-only] Get content length.
AIHttpResponse
  header : AIHTTPHeader
[read-only]
AIHttpResponse
  isChunked : Boolean
[read-only]
AIHttpResponse
  isClientError : Boolean
[read-only]
AIHttpResponse
  isInformation : Boolean
[read-only]
AIHttpResponse
  isRedirection : Boolean
[read-only]
AIHttpResponse
  isServerError : Boolean
[read-only]
AIHttpResponse
  isSuccess : Boolean
[read-only]
AIHttpResponse
  message : String
[read-only]
AIHttpResponse
  version : String
[read-only]
AIHttpResponse
Public Methods
 MethodDefined By
  
AIHttpResponse(version:String, code:String, message:String, header:AIHTTPHeader)
AIHttpResponse
  
toString():String
To string.
AIHttpResponse
Property Detail
codeproperty
code:String  [read-only]


Implementation
    public function get code():String
contentproperty 
content:ByteArray


Implementation
    public function get content():ByteArray
    public function set content(value:ByteArray):void
contentLengthproperty 
contentLength:Number  [read-only]

Get content length.


Implementation
    public function get contentLength():Number
headerproperty 
header:AIHTTPHeader  [read-only]


Implementation
    public function get header():AIHTTPHeader
isChunkedproperty 
isChunked:Boolean  [read-only]


Implementation
    public function get isChunked():Boolean
isClientErrorproperty 
isClientError:Boolean  [read-only]


Implementation
    public function get isClientError():Boolean
isInformationproperty 
isInformation:Boolean  [read-only]


Implementation
    public function get isInformation():Boolean
isRedirectionproperty 
isRedirection:Boolean  [read-only]


Implementation
    public function get isRedirection():Boolean
isServerErrorproperty 
isServerError:Boolean  [read-only]


Implementation
    public function get isServerError():Boolean
isSuccessproperty 
isSuccess:Boolean  [read-only]


Implementation
    public function get isSuccess():Boolean
messageproperty 
message:String  [read-only]


Implementation
    public function get message():String
versionproperty 
version:String  [read-only]


Implementation
    public function get version():String
Constructor Detail
AIHttpResponse()Constructor
public function AIHttpResponse(version:String, code:String, message:String, header:AIHTTPHeader)



Parameters
version:String
 
code:String
 
message:String
 
header:AIHTTPHeader
Method Detail
toString()method
public function toString():String

To string.

Returns
String