ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Provides an interface to the ILIAS HTTP services. More...
Public Member Functions | |
__construct (ResponseSenderStrategy $senderStrategy, CookieJarFactory $cookieJarFactory, RequestFactory $requestFactory, ResponseFactory $responseFactory) | |
HTTPServices constructor. More... | |
cookieJar () | |
Creates a new cookie jar from the current known request. More... | |
request () | |
response () | |
saveRequest (ServerRequestInterface $request) | |
saveResponse (ResponseInterface $response) | |
sendResponse () | |
Private Attributes | |
$sender | |
$cookieJarFactory | |
$requestFactory | |
$responseFactory | |
$request | |
$response | |
Provides an interface to the ILIAS HTTP services.
Definition at line 19 of file HTTPServices.php.
ILIAS\DI\HTTPServices::__construct | ( | ResponseSenderStrategy | $senderStrategy, |
CookieJarFactory | $cookieJarFactory, | ||
RequestFactory | $requestFactory, | ||
ResponseFactory | $responseFactory | ||
) |
HTTPServices constructor.
ResponseSenderStrategy | $senderStrategy | A response sender strategy. |
CookieJarFactory | $cookieJarFactory | Cookie Jar implementation. |
RequestFactory | $requestFactory | |
ResponseFactory | $responseFactory |
Definition at line 56 of file HTTPServices.php.
References ILIAS\DI\HTTPServices\$cookieJarFactory, ILIAS\DI\HTTPServices\$requestFactory, and ILIAS\DI\HTTPServices\$responseFactory.
ILIAS\DI\HTTPServices::cookieJar | ( | ) |
Creates a new cookie jar from the current known request.
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 71 of file HTTPServices.php.
References ILIAS\DI\HTTPServices\response().
ILIAS\DI\HTTPServices::request | ( | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 80 of file HTTPServices.php.
References ILIAS\DI\HTTPServices\$request.
Referenced by ILIAS\DI\HTTPServices\saveRequest().
ILIAS\DI\HTTPServices::response | ( | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 93 of file HTTPServices.php.
References ILIAS\DI\HTTPServices\$response.
Referenced by ILIAS\DI\HTTPServices\cookieJar(), ILIAS\DI\HTTPServices\saveResponse(), and ILIAS\DI\HTTPServices\sendResponse().
ILIAS\DI\HTTPServices::saveRequest | ( | ServerRequestInterface | $request | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 106 of file HTTPServices.php.
References ILIAS\DI\HTTPServices\$request, and ILIAS\DI\HTTPServices\request().
ILIAS\DI\HTTPServices::saveResponse | ( | ResponseInterface | $response | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 115 of file HTTPServices.php.
References ILIAS\DI\HTTPServices\$response, and ILIAS\DI\HTTPServices\response().
ILIAS\DI\HTTPServices::sendResponse | ( | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 124 of file HTTPServices.php.
References ILIAS\DI\HTTPServices\response().
|
private |
Definition at line 29 of file HTTPServices.php.
Referenced by ILIAS\DI\HTTPServices\__construct().
|
private |
Definition at line 41 of file HTTPServices.php.
Referenced by ILIAS\DI\HTTPServices\request(), and ILIAS\DI\HTTPServices\saveRequest().
|
private |
Definition at line 33 of file HTTPServices.php.
Referenced by ILIAS\DI\HTTPServices\__construct().
|
private |
Definition at line 45 of file HTTPServices.php.
Referenced by ILIAS\DI\HTTPServices\response(), and ILIAS\DI\HTTPServices\saveResponse().
|
private |
Definition at line 37 of file HTTPServices.php.
Referenced by ILIAS\DI\HTTPServices\__construct().
|
private |
Definition at line 25 of file HTTPServices.php.