Package io.milton.resource
Interface MoveableResource
- All Superinterfaces:
Resource
- All Known Subinterfaces:
FileResource,FolderResource
webDAV MOVE
-
Method Summary
Methods inherited from interface io.milton.resource.Resource
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId
-
Method Details
-
moveTo
void moveTo(CollectionResource rDest, String name) throws io.milton.http.exceptions.ConflictException, io.milton.http.exceptions.NotAuthorizedException, io.milton.http.exceptions.BadRequestException - Parameters:
rDest- is the destination folder to move to.name- is the new name of the moved resource- Throws:
io.milton.http.exceptions.ConflictException- if the destination already exists, or the operation could not be completed because of some other persisted stateio.milton.http.exceptions.NotAuthorizedExceptionio.milton.http.exceptions.BadRequestException
-