\Zend_Amf_Response_Http
Creates the proper http headers and send the serialized AMF stream to standard out.
- Copyright: Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Amf_Response_Http
extends Zend_Amf_Response
{
- // Inherited members from Zend_Amf_Response
- protected integer $_objectEncoding;
- protected array $_bodies;
- protected array $_headers;
- protected Zend_Amf_Parse_OutputStream $_outputStream;
- // methods
- public string getResponse()
- // Inherited methods from Zend_Amf_Response
- public Zend_Amf_Response finalize()
- public Zend_Amf_Response writeMessage()
- public string getResponse()
- public string __toString()
- public Zend_Amf_Response addAmfBody()
- public array getAmfBodies()
- public Zend_Amf_Response addAmfHeader()
- public array getAmfHeaders()
- public Zend_Amf_Response setObjectEncoding()
Hierarchy
Extends
Members
protected
- $_bodies
—
array
Array of Zend_Amf_Value_MessageBody objects - $_headers
—
array
Array of Zend_Amf_Value_MessageHeader objects - $_objectEncoding — int
- $_outputStream — Zend_Amf_Parse_OutputStream
Methods
public
- getResponse() — Create the application response header for AMF and sends the serialized AMF string
Inherited from Zend_Amf_Response
public
- __toString() — Return the output stream content
- addAmfBody() — Add an AMF body to be sent to the Flash Player
- addAmfHeader() — Add an AMF Header to be sent back to the flash player
- finalize() — Instantiate new output stream and start serialization
- getAmfBodies() — Return an array of AMF bodies to be serialized
- getAmfHeaders() — Retrieve attached AMF message headers
- getResponse() — Return the output stream content
- setObjectEncoding() — Set the AMF encoding that will be used for serialization
- writeMessage() — Serialize the PHP data types back into Actionscript and create and AMF stream.