Abstract class defining a response writer.
A response writer takes an ezcMvcResponse object and sends the response back to the client after preparing it for this specific medium.
Source for this file: /MvcTools/src/interfaces/response_writer.php
Version: | //autogentag// |
Child Class | Description |
---|---|
ezcMvcHttpResponseWriter | Request parser that uses HTTP headers to populate an ezcMvcRequest object. |
public abstract ezcMvcResponseWriter |
__construct(
$response
)
Creates a new response writer object |
public abstract void |
handleResponse(
)
Takes the raw protocol depending response body, and the protocol abstract response headers and forges a response to the client. Then it sends the assembled response to the client. |
Creates a new response writer object
Name | Type | Description |
---|---|---|
$response |
ezcMvcResponse |
Method | Description |
---|---|
ezcMvcHttpResponseWriter::__construct() |
Creates a new ezcMvcHttpResponseWriter class to write $response |
Takes the raw protocol depending response body, and the protocol abstract response headers and forges a response to the client. Then it sends the assembled response to the client.
Method | Description |
---|---|
ezcMvcHttpResponseWriter::handleResponse() |
Takes the raw protocol depending response body, and the protocol abstract response headers and forges a response to the client. Then it sends the assembled response to the client. |