Class CopyItemMethod

java.lang.Object
org.apache.http.message.AbstractHttpMessage
org.apache.http.client.methods.AbstractExecutionAwareRequest
org.apache.http.client.methods.HttpRequestBase
org.apache.http.client.methods.HttpEntityEnclosingRequestBase
org.apache.http.client.methods.HttpPost
davmail.exchange.ews.EWSMethod
davmail.exchange.ews.CopyItemMethod
All Implemented Interfaces:
Cloneable, org.apache.http.client.methods.AbortableHttpRequest, org.apache.http.client.methods.Configurable, org.apache.http.client.methods.HttpExecutionAware, org.apache.http.client.methods.HttpUriRequest, org.apache.http.client.ResponseHandler<EWSMethod>, org.apache.http.HttpEntityEnclosingRequest, org.apache.http.HttpMessage, org.apache.http.HttpRequest

public class CopyItemMethod extends EWSMethod
Copy item to another folder.
  • Constructor Details

    • CopyItemMethod

      public CopyItemMethod(ItemId itemId, FolderId toFolderId)
      Copy item method.
      Parameters:
      itemId - item id
      toFolderId - target folder id
    • CopyItemMethod

      public CopyItemMethod(List<ItemId> itemIds, FolderId toFolderId)
      Copy items to target folder.
      Parameters:
      itemIds - item id list
      toFolderId - target folder id