ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Provides an interface to the ILIAS HTTP services. More...
Public Member Functions | |
__construct (private ResponseSenderStrategy $sender, private CookieJarFactory $cookieJarFactory, private RequestFactory $requestFactory, private ResponseFactory $responseFactory, private DurationFactory $durationFactory) | |
RawHTTPServices constructor. More... | |
durations () | |
wrapper () | |
cookieJar () | |
request () | |
response () | |
saveRequest (ServerRequestInterface $request) | |
saveResponse (ResponseInterface $response) | |
sendResponse () | |
close () | |
Private Attributes | |
ServerRequestInterface | $request = null |
ResponseInterface | $response = null |
Provides an interface to the ILIAS HTTP services.
Definition at line 36 of file RawHTTPServices.php.
ILIAS\HTTP\RawHTTPServices::__construct | ( | private ResponseSenderStrategy | $sender, |
private CookieJarFactory | $cookieJarFactory, | ||
private RequestFactory | $requestFactory, | ||
private ResponseFactory | $responseFactory, | ||
private DurationFactory | $durationFactory | ||
) |
RawHTTPServices constructor.
ResponseSenderStrategy | $sender | A response sender strategy. |
CookieJarFactory | $cookieJarFactory | Cookie Jar implementation. |
Definition at line 48 of file RawHTTPServices.php.
ILIAS\HTTP\RawHTTPServices::close | ( | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 129 of file RawHTTPServices.php.
References exit.
ILIAS\HTTP\RawHTTPServices::cookieJar | ( | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 66 of file RawHTTPServices.php.
References ILIAS\HTTP\RawHTTPServices\response().
Referenced by ILIAS\HTTP\RawHTTPServices\sendResponse().
ILIAS\HTTP\RawHTTPServices::durations | ( | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 52 of file RawHTTPServices.php.
ILIAS\HTTP\RawHTTPServices::request | ( | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 75 of file RawHTTPServices.php.
References ILIAS\HTTP\RawHTTPServices\$request, and null.
Referenced by ILIAS\HTTP\RawHTTPServices\saveRequest(), and ILIAS\HTTP\RawHTTPServices\wrapper().
ILIAS\HTTP\RawHTTPServices::response | ( | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 88 of file RawHTTPServices.php.
References ILIAS\HTTP\RawHTTPServices\$response, and null.
Referenced by ILIAS\HTTP\RawHTTPServices\cookieJar(), ILIAS\HTTP\RawHTTPServices\saveResponse(), and ILIAS\HTTP\RawHTTPServices\sendResponse().
ILIAS\HTTP\RawHTTPServices::saveRequest | ( | ServerRequestInterface | $request | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 101 of file RawHTTPServices.php.
References ILIAS\HTTP\RawHTTPServices\$request, and ILIAS\HTTP\RawHTTPServices\request().
ILIAS\HTTP\RawHTTPServices::saveResponse | ( | ResponseInterface | $response | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 110 of file RawHTTPServices.php.
References ILIAS\HTTP\RawHTTPServices\$response, and ILIAS\HTTP\RawHTTPServices\response().
ILIAS\HTTP\RawHTTPServices::sendResponse | ( | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 119 of file RawHTTPServices.php.
References ILIAS\HTTP\RawHTTPServices\cookieJar(), and ILIAS\HTTP\RawHTTPServices\response().
ILIAS\HTTP\RawHTTPServices::wrapper | ( | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 57 of file RawHTTPServices.php.
References ILIAS\HTTP\RawHTTPServices\request().
|
private |
Definition at line 38 of file RawHTTPServices.php.
Referenced by ILIAS\HTTP\RawHTTPServices\request(), and ILIAS\HTTP\RawHTTPServices\saveRequest().
|
private |
Definition at line 39 of file RawHTTPServices.php.
Referenced by ILIAS\HTTP\RawHTTPServices\response(), and ILIAS\HTTP\RawHTTPServices\saveResponse().