1 <?php
2 /* --------------------------------------------------------------
3 HttpResponseProcessorInterface.inc.php 2015-07-22 gm
4 Gambio GmbH
5 http://www.gambio.de
6 Copyright (c) 2015 Gambio GmbH
7 Released under the GNU General Public License (Version 2)
8 [http://www.gnu.org/licenses/gpl-2.0.html]
9 --------------------------------------------------------------
10 */
11
12
13 /**
14 * Interface HttpResponseProcessorInterface
15 *
16 * @category System
17 * @package Http
18 * @subpackage Interfaces
19 */
20 interface HttpResponseProcessorInterface
21 {
22 /**
23 * Processes the http response object which is returned by a controller action method.
24 * Sends the processed response header and body to the client (Either redirect or display some output).
25 *
26 * @param HttpControllerResponseInterface $response Response object from the controllers action method.
27 */
28 public function proceed(HttpControllerResponseInterface $response);
29 }