blob: c2899b85ca1eca6fcee3d4759e2114083ea61841 [file] [log] [blame]
<?php
interface ezcMvcResponseWriter
{
/**
* Creates a new response writer object
*
* @param ezcMvcRequest $request
*/
public function __construct( ezcMvcRequest $request, ezcMvcResult $result, ezcMvcResponse $response );
/**
* Takes the raw protocol depending response body, and the protocol
* abstract response headers and forges a response to the client
*/
public function handleResponse();
/**
* Should be called after the handleResponse() method created
* protocol-dependent headers from the raw headers in the response object,
* but before it is rendered for final output.
*/
public function runResponseFilters();
}
?>