Class Amfphp_Core_HttpRequestGatewayFactory

Description

A gateway factory's job is to create a gateway. There can be many gateway factories, but as such the only one for now is this one, which creates a gateway assuming that the data to be processed is in an http request and thus available through the usual php globals

  • author: Ariel Sommeria-Klein

Located in /Amfphp/Core/HttpRequestGatewayFactory.php (line 19)


	
			
Method Summary
Methods
static method createGateway (line 44)

create the gateway.

content type is recovered by looking at the GET parameter contentType. If it isn't set, it looks in the content headers.

  • access: public
static Amfphp_Core_Gateway createGateway ([Amfphp_Core_Config $config = null])
static method getRawPostData (line 29)

there seems to be some confusion in the php doc as to where best to get the raw post data from.

try $GLOBALS['HTTP_RAW_POST_DATA'] and php://input

  • return: it's a binary stream, but there seems to be no better type than String for this.
  • access: protected
static getRawPostData ()

Documentation generated on Mon, 23 Jan 2012 17:22:06 -0300 by phpDocumentor 1.4.3