Packagecom.kaazing.gateway.client.html5
Classpublic class HttpStream
InheritanceHttpStream Inheritance flash.events.EventDispatcher

HttpStream provides proxy access to trusted same-origin HttpStream.



Public Properties
 PropertyDefined by
  authChallenge : String
[read-only]
HttpStream
  onerror : Function
The onerror handler is called when there is a stream error.
HttpStream
  onload : Function
The oncomplete handler is called when the stream completes loading.
HttpStream
  onopen : Function
The onopen handler is called when the stream is established.
HttpStream
  onprogress : Function
The omessage handler is called when data arrives.
HttpStream
  readyState : Number
[read-only]
HttpStream
  _request : URLRequest
HttpStream
  statusCode : Number
[read-only] The status code of the response.
HttpStream
Public Methods
 MethodDefined by
  
HttpStream
  
abort():void
HttpStream
  
dispatch(method:String, parameters:* = null):void
HttpStream
  
HttpStream
  
send(request:URLRequest):void
HttpStream
  
valueOf():Object
HttpStream
Property detail
authChallengeproperty
authChallenge:String  [read-only]Implementation
    public function get authChallenge():String
onerrorproperty 
public var onerror:Function

The onerror handler is called when there is a stream error.

onloadproperty 
public var onload:Function

The oncomplete handler is called when the stream completes loading.

onopenproperty 
public var onopen:Function

The onopen handler is called when the stream is established.

onprogressproperty 
public var onprogress:Function

The omessage handler is called when data arrives.

readyStateproperty 
readyState:Number  [read-only]Implementation
    public function get readyState():Number
_requestproperty 
public var _request:URLRequest
statusCodeproperty 
statusCode:Number  [read-only]

The status code of the response.

Implementation
    public function get statusCode():Number
Constructor detail
HttpStream()constructor
public function HttpStream()
Method detail
abort()method
public function abort():void
dispatch()method 
public function dispatch(method:String, parameters:* = null):voidParameters
method:String
 
parameters:* (default = null)
dispatchHttpForbidden()method 
public function dispatchHttpForbidden():void
send()method 
public function send(request:URLRequest):voidParameters
request:URLRequest
valueOf()method 
public function valueOf():Object

Returns
Object