|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class DefaultResponseSenderStrategy. More...
Inheritance diagram for ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy:
Collaboration diagram for ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy: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().
Here is the call graph for this function:
|
private |
Definition at line 67 of file DefaultResponseSenderStrategy.php.
Referenced by ILIAS\HTTP\Response\Sender\DefaultResponseSenderStrategy\__construct().
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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.
Here is the call graph for this function:
|
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().