Request parser that uses HTTP headers to populate an ezcMvcRequest object.
Source for this file: /MvcTools/src/response_writers/http.php
ezcMvcResponseWriter | --ezcMvcHttpResponseWriter
Version: | //autogentag// |
public array(string=>string) |
$headers
Contains an array of header name to value mappings |
protected ezcMvcResponse |
$response
Contains the response struct |
public ezcMvcHttpResponseWriter |
__construct(
$response
)
Creates a new ezcMvcHttpResponseWriter class to write $response |
public 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. |
protected void |
processCacheHeaders(
)
Processes the caching related headers. |
protected void |
processContentDispositionHeaders(
$disp
)
Processed the content disposition related headers. |
protected void |
processContentHeaders(
)
Processes the content type related headers. |
protected void |
processStandardHeaders(
)
Processes the standard headers that are not subdivided into other structs. |
From ezcMvcResponseWriter | |
---|---|
public abstract ezcMvcResponseWriter |
ezcMvcResponseWriter::__construct()
Creates a new response writer object |
public abstract void |
ezcMvcResponseWriter::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 ezcMvcHttpResponseWriter class to write $response
Name | Type | Description |
---|---|---|
$response |
ezcMvcResponse |
Method | Description |
---|---|
ezcMvcResponseWriter::__construct() |
Creates a new response writer object |
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 |
---|---|
ezcMvcResponseWriter::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. |
Processes the caching related headers.
Processed the content disposition related headers.
See http://tools.ietf.org/html/rfc2183#section-2, but implemented with limitations.
Name | Type | Description |
---|---|---|
$disp |
ezcMvcResultContentDisposition |
Processes the content type related headers.
Processes the standard headers that are not subdivided into other structs.