net.sf.webdav.methods
Class DoDelete
java.lang.Object
net.sf.webdav.methods.AbstractMethod
net.sf.webdav.methods.DoDelete
- All Implemented Interfaces:
- IMethodExecutor
public class DoDelete
- extends AbstractMethod
| Methods inherited from class net.sf.webdav.methods.AbstractMethod |
checkLocks, getCleanPath, getDepth, getDocumentBuilder, getETag, getLockIdFromIfHeader, getLockIdFromLockTokenHeader, getParentPath, getRelativePath, rewriteUrl, sendReport |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoDelete
public DoDelete(IWebdavStore store,
ResourceLocks resourceLocks,
boolean readOnly)
execute
public void execute(ITransaction transaction,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws IOException,
LockFailedException
- Throws:
IOException
LockFailedException
deleteResource
public void deleteResource(ITransaction transaction,
String path,
Hashtable<String,Integer> errorList,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws IOException,
WebdavException
- deletes the recources at "path"
- Parameters:
transaction - indicates that the method is within the scope of a WebDAV
transactionpath - the folder to be deletederrorList - all errors that ocurredreq - HttpServletRequestresp - HttpServletResponse
- Throws:
WebdavException - if an error in the underlying store occurs
IOException - when an error occurs while sending the response
Copyright © 2013 KnowledgePlaza. All Rights Reserved.