ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Class DefaultResponseSenderStrategy. More...
Public Member Functions | |
__construct () | |
sendResponse (ResponseInterface $response) | |
Sends the rendered response to the client. More... | |
sendResponse (ResponseInterface $response) | |
Sends the rendered response to the client. More... | |
Private Member Functions | |
initMemoryLimit () | |
initChunkSize () | |
Private Attributes | |
const | METHOD_FPASSTHRU = 'fpassthru' |
const | METHOD_READFILE = 'readfile' |
string | $method = self::METHOD_FPASSTHRU |
int | $chunk_size |
int | $memory_limit |
Class DefaultResponseSenderStrategy.
The default response sender strategy rewinds the current body stream and sends the entire stream out to the client.
Definition at line 31 of file DefaultResponseSenderStrategy.php.
ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy::__construct | ( | ) |
Definition at line 45 of file DefaultResponseSenderStrategy.php.
References ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy\initChunkSize(), and ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy\initMemoryLimit().
|
private |
Definition at line 67 of file DefaultResponseSenderStrategy.php.
Referenced by ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy\__construct().
|
private |
Definition at line 51 of file DefaultResponseSenderStrategy.php.
References ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy\$memory_limit, and ILIAS\Repository\int().
Referenced by ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy\__construct().
ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy::sendResponse | ( | ResponseInterface | $response | ) |
Sends the rendered response to the client.
ResponseInterface | $response | The response which should be send to the client. |
ResponseSendingException | Thrown if the response was already sent to the client. |
Implements ILIAS\HTTP\Response\Sender\ResponseSenderStrategy.
Definition at line 79 of file DefaultResponseSenderStrategy.php.
References $response, ILIAS\UI\examples\Symbol\Glyph\Header\header(), ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy\METHOD_FPASSTHRU, and ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy\METHOD_READFILE.
|
private |
Definition at line 42 of file DefaultResponseSenderStrategy.php.
|
private |
Definition at line 43 of file DefaultResponseSenderStrategy.php.
Referenced by ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy\initMemoryLimit().
|
private |
Definition at line 41 of file DefaultResponseSenderStrategy.php.
|
private |
Definition at line 36 of file DefaultResponseSenderStrategy.php.
Referenced by ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy\sendResponse().
|
private |
Definition at line 40 of file DefaultResponseSenderStrategy.php.
Referenced by ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy\sendResponse().