public class DoDelete extends AbstractMethod
BUF_SIZE, CREATION_DATE_FORMAT, DEFAULT_TIMEOUT, INFINITY, LAST_MODIFIED_DATE_FORMAT, LOCAL_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,Integer> errorList,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
deletes the recources at "path"
|
void |
execute(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
checkLocks, creationDateFormat, getCleanPath, getDepth, getDocumentBuilder, getETag, getLocalDateFormat, getLockIdFromIfHeader, getLockIdFromLockTokenHeader, getParentPath, getRelativePath, lastModifiedDateFormat, rewriteUrl, sendReportpublic DoDelete(IWebdavStore store, ResourceLocks resourceLocks, boolean readOnly)
public void execute(ITransaction transaction, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException, LockFailedException
IOExceptionLockFailedExceptionpublic void deleteResource(ITransaction transaction, String path, Hashtable<String,Integer> errorList, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse 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 © 2011-2013. All Rights Reserved.