This catches browser requests to the gateway, to show something more helpful than an error message.
package | Amfphp_Plugins_Dummy |
---|---|
author | Ariel Sommeria-Klein, Daniel Hoffmann (intermedi8.de) |
__construct(array $config)
array
optional key/value pairs in an associative array. Used to override default configuration values.
deserialize(array $getData, array $postData, string $rawPostData) : string
see | \Amfphp_Core_Common_IDeserializer |
---|
array
array
string
string
filterHandler(mixed $handler, String $contentType) : \this
mixed
null at call in gateway.
String
\this
or nullfilterHeaders(array $headers, string $contentType) : array
array
string
array
handleDeserializedRequest(mixed $deserializedRequest, \Amfphp_Core_Common_ServiceRouter $serviceRouter) : mixed
This should not handle exceptions, as this is done separately
see | \Amfphp_Core_Common_IDeserializedRequestHandler |
---|
mixed
\Amfphp_Core_Common_ServiceRouter
mixed
handleException(\Exception $exception) : mixed
see | \Amfphp_Core_Common_IExceptionHandler |
---|
\Exception
mixed
an object describing the error, that will be serialized and sent back to the clientserialize(mixed $data) : mixed
CONTENT_TYPE