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
Located in /Amfphp/Core/HttpRequestGatewayFactory.php (line 19)
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.
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
Documentation generated on Mon, 23 Jan 2012 17:22:06 -0300 by phpDocumentor 1.4.3