|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Provides an interface to the ILIAS HTTP services. More...
Inheritance diagram for ILIAS\HTTP\RawHTTPServices:
Collaboration diagram for ILIAS\HTTP\RawHTTPServices: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 () | |
| @inheritDoc More... | |
| request () | |
| @inheritDoc More... | |
| response () | |
| @inheritDoc More... | |
| saveRequest (ServerRequestInterface $request) | |
| @inheritDoc More... | |
| saveResponse (ResponseInterface $response) | |
| @inheritDoc More... | |
| sendResponse () | |
| @inheritDoc More... | |
| close () | |
| durations () | |
| wrapper () | |
| request () | |
| Returns the current psr-7 server request. More... | |
| response () | |
| Returns the current psr-7 response. More... | |
| cookieJar () | |
| Returns a cookie jar which has all cookies known by the ILIAS response. More... | |
| saveRequest (ServerRequestInterface $request) | |
| Saves the given request for further use. More... | |
| saveResponse (ResponseInterface $response) | |
| Saves the given response for further use. More... | |
| sendResponse () | |
| Render the current response hold by ILIAS. More... | |
| 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 | ( | ) |
@inheritDoc
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 66 of file RawHTTPServices.php.
References ILIAS\HTTP\RawHTTPServices\response().
Referenced by ILIAS\HTTP\RawHTTPServices\sendResponse().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\HTTP\RawHTTPServices::durations | ( | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 52 of file RawHTTPServices.php.
| ILIAS\HTTP\RawHTTPServices::request | ( | ) |
@inheritDoc
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 75 of file RawHTTPServices.php.
References ILIAS\HTTP\RawHTTPServices\$request, and ILIAS\HTTP\RawHTTPServices\request().
Referenced by ILIAS\HTTP\RawHTTPServices\request(), ILIAS\HTTP\RawHTTPServices\saveRequest(), and ILIAS\HTTP\RawHTTPServices\wrapper().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\HTTP\RawHTTPServices::response | ( | ) |
@inheritDoc
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 88 of file RawHTTPServices.php.
References ILIAS\HTTP\RawHTTPServices\$response, and ILIAS\HTTP\RawHTTPServices\response().
Referenced by ILIAS\HTTP\RawHTTPServices\cookieJar(), ILIAS\HTTP\RawHTTPServices\response(), ILIAS\HTTP\RawHTTPServices\saveResponse(), and ILIAS\HTTP\RawHTTPServices\sendResponse().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\HTTP\RawHTTPServices::saveRequest | ( | ServerRequestInterface | $request | ) |
@inheritDoc
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 101 of file RawHTTPServices.php.
References ILIAS\HTTP\RawHTTPServices\$request, and ILIAS\HTTP\RawHTTPServices\request().
Here is the call graph for this function:| ILIAS\HTTP\RawHTTPServices::saveResponse | ( | ResponseInterface | $response | ) |
@inheritDoc
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 110 of file RawHTTPServices.php.
References ILIAS\HTTP\RawHTTPServices\$response, and ILIAS\HTTP\RawHTTPServices\response().
Here is the call graph for this function:| ILIAS\HTTP\RawHTTPServices::sendResponse | ( | ) |
@inheritDoc
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 119 of file RawHTTPServices.php.
References ILIAS\HTTP\RawHTTPServices\$response, ILIAS\HTTP\RawHTTPServices\cookieJar(), and ILIAS\HTTP\RawHTTPServices\response().
Here is the call graph for this function:| ILIAS\HTTP\RawHTTPServices::wrapper | ( | ) |
Implements ILIAS\HTTP\GlobalHttpState.
Definition at line 57 of file RawHTTPServices.php.
References ILIAS\HTTP\RawHTTPServices\request().
Here is the call graph for this function:
|
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(), ILIAS\HTTP\RawHTTPServices\saveResponse(), and ILIAS\HTTP\RawHTTPServices\sendResponse().