Package nl.info.webdav.methods
Class DoDelete
java.lang.Object
nl.info.webdav.methods.AbstractMethod
nl.info.webdav.methods.DoDelete
- All Implemented Interfaces:
IMethodExecutor
-
Field Summary
Fields inherited from class nl.info.webdav.methods.AbstractMethod
BUF_SIZE, CREATION_DATE_FORMAT, DEFAULT_TIMEOUT, INFINITY, LAST_MODIFIED_DATE_FORMAT, LOCAL_DATE_FORMAT, MAX_TIMEOUT, TEMP_TIMEOUT, TEMPORARY, URL_ENCODER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteResource(ITransaction transaction, String path, Hashtable<String, Integer> errorList, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) deletes the recources at "path"voidexecute(ITransaction transaction, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) Methods inherited from class nl.info.webdav.methods.AbstractMethod
checkLocks, creationDateFormat, getCleanPath, getDepth, getDocumentBuilder, getETag, getLocalDateFormat, getLockIdFromIfHeader, getLockIdFromLockTokenHeader, getParentPath, getRelativePath, lastModifiedDateFormat, rewriteUrl, sendReport
-
Constructor Details
-
DoDelete
-
-
Method Details
-
execute
public void execute(ITransaction transaction, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws IOException, LockFailedException - Throws:
IOExceptionLockFailedException
-
deleteResource
public void deleteResource(ITransaction transaction, String path, Hashtable<String, Integer> errorList, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws IOException, WebdavExceptiondeletes 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 occursIOException- when an error occurs while sending the response
-