public class DoMove extends WebDavMethod
BUF_SIZE, CREATION_DATE_FORMAT, DEFAULT_TIMEOUT, INFINITY, LAST_MODIFIED_DATE_FORMAT, MAX_TIMEOUT, TEMP_TIMEOUT, TEMPORARY
Constructor and Description |
---|
DoMove(WebDavStore store) |
Modifier and Type | Method and Description |
---|---|
void |
execute(RequestContext requestContext)
To be implemented by concrete method.
|
void |
moveResource(RequestContext requestContext,
Resource res,
java.lang.String sourcePath,
java.lang.String destinationPath,
java.util.Hashtable<java.lang.String,java.lang.Integer> errorList)
deletes the resources at "path"
|
checkLocks, determineMethodsAllowed, encodeURL, getCleanPath, getDefaultMethodsAllowed, getDepth, getDocumentBuilder, getETag, getFolderMethodsAllowed, getHRef, getLockIdFromIfHeader, getLockIdFromLockTokenHeader, getNullResourceMethodsAllowed, getParentPath, getRelativePath, getRelativePath, getResourceMethodsAllowed, getVersion, sendReport
public DoMove(WebDavStore store)
public void moveResource(RequestContext requestContext, Resource res, java.lang.String sourcePath, java.lang.String destinationPath, java.util.Hashtable<java.lang.String,java.lang.Integer> errorList) throws java.io.IOException, WebdavException
requestContext
- indicates that the method is within the scope of a WebDAV
transactionpath
- the folder to be deletederrorList
- all errors that occurredreq
- HttpServletRequestresp
- HttpServletResponseWebdavException
- if an error in the underlying store occursjava.io.IOException
- when an error occurs while sending the responsepublic void execute(RequestContext requestContext) throws java.io.IOException, LockFailedException
WebDavMethod
execute
in class WebDavMethod
java.io.IOException
LockFailedException
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.