/**
  * Serves GET requests.
  *
  * The method receives a {@link ezcWebdavGetRequest} object containing all
  * relevant information obout the clients request and will return an {@link
  * ezcWebdavErrorResponse} instance on error or an instance of {@link
  * ezcWebdavGetResourceResponse} or {@link ezcWebdavGetCollectionResponse}
  * on success, depending on the type of resource that is referenced by the
  * request.
  *
  * This method acquires the internal lock of the backend, dispatches to
  * {@link ezcWebdavSimpleBackend} to perform the operation and releases the
  * lock afterwards.
  *
  * @param ezcWebdavGetRequest $request
  * @return ezcWebdavResponse
  */
 public function get(ezcWebdavGetRequest $request)
 {
     $this->acquireLock(true);
     $return = parent::get($request);
     $this->freeLock();
     return $return;
 }
Beispiel #2
0
 public function get(ezcWebdavGetRequest $request)
 {
     print_debug("-- HTTP method: GET --\n");
     $return = parent::get($request);
     return $return;
 }