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)
arrayoptional 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
stringfilterHandler(mixed $handler, String $contentType) : \this
mixednull at call in gateway.
String
\thisor nullfilterHeaders(array $headers, string $contentType) : array
array
string
arrayhandleDeserializedRequest(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
mixedhandleException(\Exception $exception) : mixed
| see | \Amfphp_Core_Common_IExceptionHandler |
|---|
\Exception
mixedan object describing the error, that will be serialized and sent back to the clientserialize(mixed $data) : mixed
CONTENT_TYPE