Lines Matching refs:request

456      * @param RequestInterface $request
461 …function invokeMethod(RequestInterface $request, ResponseInterface $response, $sendResponse = true… argument
463 $method = $request->getMethod();
465 if (!$this->emit('beforeMethod:' . $method, [$request, $response])) return;
466 if (!$this->emit('beforeMethod', [$request, $response])) return;
474 if (!$this->checkPreconditions($request, $response)) {
479 if ($this->emit('method:' . $method, [$request, $response])) {
480 if ($this->emit('method', [$request, $response])) {
491 if (!$this->emit('afterMethod:' . $method, [$request, $response])) return;
492 if (!$this->emit('afterMethod', [$request, $response])) return;
499 $this->emit('afterResponse', [$request, $response]);
717 * @param RequestInterface $request
729 function getCopyAndMoveInfo(RequestInterface $request) { argument
732 …if (!$request->getHeader('Destination')) throw new Exception\BadRequest('The destination header wa…
733 $destination = $this->calculateUri($request->getHeader('Destination'));
734 $overwrite = $request->getHeader('Overwrite');
767 $requestPath = $request->getPath();
1290 * @param RequestInterface $request
1294 function checkPreconditions(RequestInterface $request, ResponseInterface $response) { argument
1296 $path = $request->getPath();
1301 if ($ifMatch = $request->getHeader('If-Match')) {
1343 if ($ifNoneMatch = $request->getHeader('If-None-Match')) {
1379 if ($request->getMethod() === 'GET') {
1390 if (!$ifNoneMatch && ($ifModifiedSince = $request->getHeader('If-Modified-Since'))) {
1416 if ($ifUnmodifiedSince = $request->getHeader('If-Unmodified-Since')) {
1446 $ifConditions = $this->getIfConditions($request);
1457 $this->emit('validateTokens', [$request, &$ifConditions]);
1575 * @param RequestInterface $request
1578 function getIfConditions(RequestInterface $request) { argument
1580 $header = $request->getHeader('If');
1604 $realUri = $request->getPath();