public class DoDelete extends AbstractMethod
BUF_SIZE, CREATION_DATE_FORMAT, DEFAULT_TIMEOUT, INFINITY, LAST_MODIFIED_DATE_FORMAT, MAX_TIMEOUT, TEMP_TIMEOUT, TEMPORARY, URL_ENCODER| Constructor and Description |
|---|
DoDelete(IWebdavStore store,
ResourceLocks resourceLocks,
boolean readOnly) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteResource(ITransaction transaction,
String path,
Hashtable<String,WebdavStatus> errorList,
WebdavRequest req,
WebdavResponse resp)
deletes the recources at "path"
|
void |
execute(ITransaction transaction,
WebdavRequest req,
WebdavResponse resp) |
checkLocks, ensureLeadingSlash, getCleanPath, getDepth, getDocumentBuilder, getETag, getLockIdFromIfHeader, getLockIdFromLockTokenHeader, getParentPath, getRelativePath, rewriteUrl, sendReportpublic DoDelete(IWebdavStore store, ResourceLocks resourceLocks, boolean readOnly)
public void execute(ITransaction transaction, WebdavRequest req, WebdavResponse resp) throws IOException, LockFailedException
IOExceptionLockFailedExceptionpublic void deleteResource(ITransaction transaction, String path, Hashtable<String,WebdavStatus> errorList, WebdavRequest req, WebdavResponse resp) throws IOException, WebdavException
transaction - indicates that the method is within the scope of a WebDAV
transactionpath - the folder to be deletederrorList - all errors that ocurredreq - HttpServletRequestresp - HttpServletResponseWebdavException - if an error in the underlying store occursIOException - when an error occurs while sending the responseCopyright © 2014. All Rights Reserved.