DefaultResponse.php
FileDocument represents a local file.
Definition: FileDocument.php:21
Response holds the response values that are used as output from Controller instances.
Definition: Response.php:20
Request holds the request values that are used as input to Controller instances.
Definition: Request.php:18
getResponse()
Get the Response instance belonging to the request.
getCacheDate()
Definition: DefaultResponse.php:97
setRequest(Request $request)
Definition: DefaultResponse.php:44
getCacheLifetime()
Definition: DefaultResponse.php:82
AbstractControllerMessage is the base class for request/response implementations.
Definition: AbstractControllerMessage.php:27
setFormat($format)
Definition: AbstractControllerMessage.php:127
getDocument()
Definition: DefaultResponse.php:152
Formatter is the single entry point for request/response formatting.
Definition: Formatter.php:23
MemoryDocument represents content that resides in memory.
Definition: MemoryDocument.php:18
setCacheId($cacheId)
Definition: DefaultResponse.php:61
ResponseDocument is the interface for media returned in a response when using the DownloadFormat.
Definition: ResponseDocument.php:20
setCacheLifetime($seconds)
Definition: DefaultResponse.php:75
Default Response implementation.
Definition: DefaultResponse.php:23
setDocument(ResponseDocument $document)
Definition: DefaultResponse.php:144
setResponse(Response $response)
Set the Response instance belonging to the request and vice versa.
setStatus($status)
Definition: DefaultResponse.php:105
getFormat()
Definition: AbstractControllerMessage.php:134
setFile($filename, $isDownload, $content='', $type='')
Definition: DefaultResponse.php:119