\Zend_Amf_Request_Http
AMF Request object -- Request via HTTP
Extends to accept a request via HTTP. Request is
built at construction time using a raw POST; if no data is available, the
request is declared a fault.
- 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_Request_Http
extends Zend_Amf_Request
{
- // members
- protected $_rawRequest;
- // Inherited members from Zend_Amf_Request
- protected integer $_clientType;
- protected array $_bodies;
- protected array $_headers;
- protected integer $_objectEncoding;
- protected Zend_Amf_Parse_InputStream $_inputStream;
- protected Zend_Amf_Parse_AMF0_Deserializer $_deserializer;
- protected $_time;
- // methods
- public void __construct()
- public string getRawRequest()
- // Inherited methods from Zend_Amf_Request
- public Zend_Amf_Request initialize()
- public Zend_Amf_Request readMessage()
- public Zend_Amf_Value_MessageHeader readHeader()
- public Zend_Amf_Value_MessageBody readBody()
- public array getAmfBodies()
- public Zend_Amf_Request addAmfBody()
- public array getAmfHeaders()
- public int getObjectEncoding()
- public Zend_Amf_Request setObjectEncoding()
Hierarchy
Extends
Members
protected
- $_bodies — array
- $_clientType — int
- $_deserializer — Zend_Amf_Parse_AMF0_Deserializer
- $_headers — array
- $_inputStream — Zend_Amf_Parse_InputStream
- $_objectEncoding — int
- $_rawRequest
—
string
Raw AMF request - $_time
—
mixed
Time of the request
Methods
public
- __construct() — Constructor
- getRawRequest() — Retrieve raw AMF Request
Inherited from Zend_Amf_Request
public
- addAmfBody() — Accessor to private array of message bodies.
- getAmfBodies() — Return an array of the body objects that were found in the amf request.
- getAmfHeaders() — Return an array of headers that were found in the amf request.
- getObjectEncoding() — Return the either 0 or 3 for respect AMF version
- initialize() — Prepare the AMF InputStream for parsing.
- readBody() — Deserialize a message body from the input stream
- readHeader() — Deserialize a message header from the input stream.
- readMessage() — Takes the raw AMF input stream and converts it into valid PHP objects
- setObjectEncoding() — Set the object response encoding