类 AbstractMultipartObjectClient

java.lang.Object
com.obs.services.internal.RestConnectionService
com.obs.services.internal.RestStorageService
com.obs.services.internal.service.AbstractRequestConvertor
com.obs.services.internal.service.AclHeaderConvertor
com.obs.services.internal.service.RequestConvertor
com.obs.services.internal.service.ObsBucketBaseService
com.obs.services.internal.service.ObsBucketAdvanceService
com.obs.services.internal.service.ObsObjectBaseService
com.obs.services.internal.service.ObsMultipartObjectService
com.obs.services.internal.service.ObsObjectService
com.obs.services.internal.service.ObsFileService
com.obs.services.internal.service.ObsExtensionService
所有已实现的接口:
IFSClient, IObsBucketExtendClient, IObsClient, Closeable, AutoCloseable
直接已知子类:
AbstractPFSClient

public abstract class AbstractMultipartObjectClient extends AbstractObjectClient
  • 构造器详细资料

    • AbstractMultipartObjectClient

      public AbstractMultipartObjectClient()
  • 方法详细资料

    • initiateMultipartUpload

      public InitiateMultipartUploadResult initiateMultipartUpload(InitiateMultipartUploadRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Initialize a multipart upload.
      参数:
      request - Parameters in a request for initializing a multipart upload
      返回:
      Result of the multipart upload
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • abortMultipartUpload

      public HeaderResponse abortMultipartUpload(AbortMultipartUploadRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Abort a multipart upload.
      参数:
      request - Parameters in a request for aborting a multipart upload
      返回:
      Common response headers
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • uploadPart

      public UploadPartResult uploadPart(String bucketName, String objectKey, String uploadId, int partNumber, InputStream input) throws ObsException
      从接口复制的说明: IObsClient
      Upload a part.
      参数:
      bucketName - Bucket name
      objectKey - Object name
      uploadId - Multipart upload ID
      partNumber - Part number
      input - Data stream to be uploaded
      返回:
      Response to a part upload request
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • uploadPart

      public UploadPartResult uploadPart(String bucketName, String objectKey, String uploadId, int partNumber, File file) throws ObsException
      从接口复制的说明: IObsClient
      Upload a part.
      参数:
      bucketName - Bucket name
      objectKey - Object name
      uploadId - Multipart upload ID
      partNumber - Part number
      file - File to be uploaded
      返回:
      Response to a part upload request
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • uploadPart

      public UploadPartResult uploadPart(UploadPartRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Upload a part.
      参数:
      request - Parameters in a part upload request
      返回:
      Response to a part upload request
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • copyPart

      public CopyPartResult copyPart(CopyPartRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Copy a part.
      参数:
      request - Parameters in the request for copying a part
      返回:
      Response to a part copy request
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • completeMultipartUpload

      public CompleteMultipartUploadResult completeMultipartUpload(CompleteMultipartUploadRequest request) throws ObsException
      从接口复制的说明: IObsClient
      Combine parts.
      参数:
      request - Parameters in a request for combining parts
      返回:
      Result of part combination
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • listParts

      public ListPartsResult listParts(ListPartsRequest request) throws ObsException
      从接口复制的说明: IObsClient
      List uploaded parts.
      参数:
      request - Parameters in a request for listing uploaded parts
      返回:
      Response to a request for listing uploaded parts
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails
    • listMultipartUploads

      public MultipartUploadListing listMultipartUploads(ListMultipartUploadsRequest request) throws ObsException
      从接口复制的说明: IObsClient
      List incomplete multipart uploads.
      参数:
      request - Parameters in a request for listing multipart uploads
      返回:
      List of multipart uploads
      抛出:
      ObsException - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails