Lines Matching refs:request

436      * @param RequestInterface $request
441 …function invokeMethod(RequestInterface $request, ResponseInterface $response, $sendResponse = true… argument
443 $method = $request->getMethod();
445 if (!$this->emit('beforeMethod:' . $method, [$request, $response])) return;
446 if (!$this->emit('beforeMethod', [$request, $response])) return;
454 if (!$this->checkPreconditions($request, $response)) {
459 if ($this->emit('method:' . $method, [$request, $response])) {
460 if ($this->emit('method', [$request, $response])) {
466 if (!$this->emit('afterMethod:' . $method, [$request, $response])) return;
467 if (!$this->emit('afterMethod', [$request, $response])) return;
471 $this->emit('afterResponse', [$request, $response]);
684 * @param RequestInterface $request
696 function getCopyAndMoveInfo(RequestInterface $request) { argument
699 …if (!$request->getHeader('Destination')) throw new Exception\BadRequest('The destination header wa…
700 $destination = $this->calculateUri($request->getHeader('Destination'));
701 $overwrite = $request->getHeader('Overwrite');
734 $requestPath = $request->getPath();
1214 * @param RequestInterface $request
1218 function checkPreconditions(RequestInterface $request, ResponseInterface $response) { argument
1220 $path = $request->getPath();
1225 if ($ifMatch = $request->getHeader('If-Match')) {
1267 if ($ifNoneMatch = $request->getHeader('If-None-Match')) {
1303 if ($request->getMethod() === 'GET') {
1314 if (!$ifNoneMatch && ($ifModifiedSince = $request->getHeader('If-Modified-Since'))) {
1340 if ($ifUnmodifiedSince = $request->getHeader('If-Unmodified-Since')) {
1370 $ifConditions = $this->getIfConditions($request);
1381 $this->emit('validateTokens', [ $request, &$ifConditions ]);
1499 * @param RequestInterface $request
1502 function getIfConditions(RequestInterface $request) { argument
1504 $header = $request->getHeader('If');
1528 $realUri = $request->getPath();