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,
HttpServletRequest req,
HttpServletResponse resp)
deletes the recources at "path"
|
void |
execute(ITransaction transaction,
HttpServletRequest req,
HttpServletResponse resp) |
creationDateFormat, getCleanPath, getDepth, getDocumentBuilder, getETag, getLocalDateFormat, getLockIdFromIfHeader, getLockIdFromLockTokenHeader, getParentPath, getRelativePath, isUnlocked, lastModifiedDateFormat, rewriteUrl, sendReportpublic DoDelete(IWebdavStore store, ResourceLocks resourceLocks, boolean readOnly)
public void execute(ITransaction transaction, HttpServletRequest req, HttpServletResponse resp) throws IOException, LockFailedException
IOExceptionLockFailedExceptionpublic void deleteResource(ITransaction transaction, String path, Hashtable<String,Integer> errorList, HttpServletRequest req, 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 © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.