Interface MoveableResource

All Superinterfaces:
Resource
All Known Subinterfaces:
FileResource, FolderResource

public interface MoveableResource extends Resource
webDAV MOVE
  • 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 state
      io.milton.http.exceptions.NotAuthorizedException
      io.milton.http.exceptions.BadRequestException