com.oef.services

## 类 OefClient

- java.lang.Object
- - com.obs.services.internal.RestStorageService
  - - com.obs.services.internal.RequestConvertor
    - - com.obs.services.internal.ObsService
      - - com.obs.services.ObsClient
        - - com.oef.services.OefClient

- 所有已实现的接口:
    IFSClient, IObsClient, IOefClient, Closeable, AutoCloseable

      public class OefClient
      extends ObsClient
      implements IOefClient

  OEF client

- - ### 嵌套类概要

    - ### 从类继承的嵌套类/接口 com.obs.services.internal.RequestConvertor

      `com.obs.services.internal.RequestConvertor.TransResult`

  - ### 字段概要

    - ### 从类继承的字段 com.obs.services.internal.RestStorageService

      `apiVersionCache, CAN_USE_STANDARD_HTTP_HEADERS, credentials, httpClient, keyManagerFactory, obsProperties, segmentLock, semaphore, shuttingDown, trustManagerFactory`

  - ### 构造器概要

    构造器
    构造器和说明
    `OefClient(ObsConfiguration config)` Constructor
    `OefClient(String endPoint)` Constructor
    `OefClient(String accessKey, String secretKey, ObsConfiguration config)` Constructor
    `OefClient(String accessKey, String secretKey, String endPoint)` Constructor
    `OefClient(String accessKey, String secretKey, String securityToken, ObsConfiguration config)` Constructor
    `OefClient(String accessKey, String secretKey, String securityToken, String endPoint)` Constructor

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `CreateAsynchFetchJobsResult` | `createFetchJob(CreateAsyncFetchJobsRequest request)` Create an asynchronous fetch job
    `HeaderResponse` | `deleteExtensionPolicy(String bucketName)` Delete an asynchronous policy
    `HeaderResponse` | `putExtensionPolicy(String bucketName, PutExtensionPolicyRequest request)` Configure an asynchronous policy.
    `QueryExtensionPolicyResult` | `queryExtensionPolicy(String bucketName)` Query an asynchronous policy
    `QueryAsynchFetchJobsResult` | `queryFetchJob(String bucketName, String jobId)` Query an asynchronous fetch job

    - ### 从类继承的方法 com.obs.services.ObsClient

      `abortMultipartUpload, appendFile, appendObject, base64Md5, base64Md5, close, completeMultipartUpload, copyObject, copyObject, copyPart, createBucket, createBucket, createBucket, createBucket, createBucket, createGetTemporarySignature, createGetTemporarySignature, createPostSignature, createPostSignature, createPostSignature, createSignedUrl, createSignedUrl, createTemporarySignature, createV4PostSignature, createV4PostSignature, createV4PostSignature, createV4TemporarySignature, deleteBucket, deleteBucket, deleteBucketCors, deleteBucketCors, deleteBucketDirectColdAccess, deleteBucketDirectColdAccess, deleteBucketEncryption, deleteBucketEncryption, deleteBucketLifecycle, deleteBucketLifecycle, deleteBucketLifecycleConfiguration, deleteBucketPolicy, deleteBucketPolicy, deleteBucketReplication, deleteBucketReplication, deleteBucketReplicationConfiguration, deleteBucketTagging, deleteBucketTagging, deleteBucketWebsite, deleteBucketWebsite, deleteBucketWebsiteConfiguration, deleteObject, deleteObject, deleteObject, deleteObjects, deleteReadAheadObjects, doesObjectExist, doesObjectExist, downloadFile, dropFile, dropFolder, getAttribute, getBucketAcl, getBucketAcl, getBucketCors, getBucketCors, getBucketDirectColdAccess, getBucketDirectColdAccess, getBucketEncryption, getBucketEncryption, getBucketFSStatus, getBucketLifecycle, getBucketLifecycle, getBucketLifecycleConfiguration, getBucketLocation, getBucketLocation, getBucketLocationV2, getBucketLogging, getBucketLogging, getBucketLoggingConfiguration, getBucketMetadata, getBucketNotification, getBucketNotification, getBucketPolicy, getBucketPolicy, getBucketPolicyV2, getBucketPolicyV2, getBucketQuota, getBucketQuota, getBucketReplication, getBucketReplication, getBucketReplicationConfiguration, getBucketRequestPayment, getBucketRequestPayment, getBucketStorageInfo, getBucketStorageInfo, getBucketStoragePolicy, getBucketStoragePolicy, getBucketTagging, getBucketTagging, getBucketVersioning, getBucketVersioning, getBucketWebsite, getBucketWebsite, getBucketWebsiteConfiguration, getObject, getObject, getObject, getObjectAcl, getObjectAcl, getObjectAcl, getObjectMetadata, getObjectMetadata, getObjectMetadata, headBucket, headBucket, initiateMultipartUpload, listBuckets, listBuckets, listBucketsV2, listContentSummary, listMultipartUploads, listObjects, listObjects, listParts, listVersions, listVersions, listVersions, listVersions, listVersions, modifyObject, modifyObject, modifyObject, newBucket, newFile, newFolder, optionsBucket, optionsObject, putObject, putObject, putObject, putObject, putObject, putObjects, queryReadAheadObjectsTask, readAheadObjects, readFile, refresh, renameFile, renameFolder, renameObject, renameObject, restoreObject, restoreObjects, restoreObjectV2, setBucketAcl, setBucketAcl, setBucketAcl, setBucketCors, setBucketCors, setBucketCors, setBucketDirectColdAccess, setBucketDirectColdAccess, setBucketEncryption, setBucketEncryption, setBucketFSStatus, setBucketLifecycle, setBucketLifecycle, setBucketLifecycleConfiguration, setBucketLogging, setBucketLogging, setBucketLoggingConfiguration, setBucketLoggingConfiguration, setBucketNotification, setBucketNotification, setBucketPolicy, setBucketPolicy, setBucketQuota, setBucketQuota, setBucketReplication, setBucketReplication, setBucketReplicationConfiguration, setBucketRequestPayment, setBucketRequestPayment, setBucketStoragePolicy, setBucketStoragePolicy, setBucketTagging, setBucketTagging, setBucketVersioning, setBucketVersioning, setBucketVersioning, setBucketWebsite, setBucketWebsite, setBucketWebsiteConfiguration, setObjectAcl, setObjectAcl, setObjectAcl, setObjectAcl, setObjectMetadata, truncateFile, truncateObject, truncateObject, uploadFile, uploadPart, uploadPart, uploadPart, writeFile`

    - ### 从类继承的方法 com.obs.services.internal.ObsService

      `abortMultipartUploadImpl, appendObjectImpl, completeMultipartUploadImpl, copyObjectImpl, copyPartImpl, createBucketImpl, createFetchJobImpl, createPostSignatureResponse, createTemporarySignatureResponse, createV4TemporarySignature, deleteBucketCorsImpl, deleteBucketDirectColdAccessImpl, deleteBucketEncryptionImpl, deleteBucketImpl, deleteBucketLifecycleConfigurationImpl, deleteBucketPolicyImpl, deleteBucketReplicationConfigurationImpl, deleteBucketTaggingImpl, deleteBucketWebsiteConfigurationImpl, deleteDisPolicyImpl, deleteExtensionPolicyImpl, deleteObjectImpl, deleteObjectsImpl, deleteReadAheadObjectsImpl, doesObjectExistImpl, getBucketAclImpl, getBucketCorsImpl, getBucketDirectColdAccessImpl, getBucketEncryptionImpl, getBucketLifecycleConfigurationImpl, getBucketLocationImpl, getBucketLoggingConfigurationImpl, getBucketMetadataImpl, getBucketNotificationConfigurationImpl, getBucketPolicyImpl, getBucketQuotaImpl, getBucketReplicationConfigurationImpl, getBucketRequestPaymentImpl, getBucketStorageInfoImpl, getBucketStoragePolicyImpl, getBucketTaggingImpl, getBucketVersioningImpl, getBucketWebsiteConfigurationImpl, getDisPolicyImpl, getObjectAclImpl, getObjectImpl, getObjectImpl, getObjectMetadataImpl, headBucketImpl, initiateMultipartUploadImpl, initThreadPool, listAllBucketsImpl, listContentSummaryImpl, listMultipartUploadsImpl, listObjectsImpl, listPartsImpl, listVersionsImpl, modifyObjectImpl, optionsImpl, putDisPolicyImpl, putObjectImpl, queryExtensionPolicyImpl, queryFetchJobImpl, queryReadAheadObjectsTaskImpl, readAheadObjectsImpl, recordBulkTaskStatus, renameFileImpl, renameObjectImpl, restoreObjectImpl, restoreObjectV2Impl, setBucketAclImpl, setBucketCorsImpl, setBucketDirectColdAccessImpl, setBucketEncryptionImpl, setBucketFSStatusImpl, setBucketLifecycleConfigurationImpl, setBucketLoggingConfigurationImpl, setBucketNotificationImpl, setBucketPolicyImpl, setBucketQuotaImpl, setBucketReplicationConfigurationImpl, setBucketRequestPaymentImpl, setBucketStorageImpl, setBucketTaggingImpl, setBucketVersioningImpl, setBucketWebsiteConfigurationImpl, setExtensionPolicyImpl, setObjectAclImpl, setObjectMetadataImpl, truncateFileImpl, truncateObjectImpl, uploadPartImpl, verifyResponseContentType, verifyResponseContentTypeForJson, writeFileImpl`

    - ### 从类继承的方法 com.obs.services.internal.RequestConvertor

      `getApiVersion, getCredential, setResponseHeaders`

    - ### 从类继承的方法 com.obs.services.internal.RestStorageService

      `addRequestHeadersToConnection, addRequestParametersToUrlPath, addRequestParametersToUrlPath, authorizeHttpRequest, convertHeadersToMap, getApiVersionCache, getEndpoint, getFileSystemDelimiter, getHttpPort, getHttpsOnly, getHttpsPort, getIConvertor, getIHeaders, getProviderCredentials, getRestHeaderPrefix, getRestMetadataPrefix, getXmlResponseSaxParser, initHttpClient, isAuthTypeNegotiation, isCname, isKeepAlive, isPathStyle, performRequest, performRequest, performRequest, performRequestAsync, performRequestAsync, performRequestAsync, performRequesttWithoutSignatureAsync, performRequestWithoutSignature, performRestDelete, performRestDelete, performRestDelete, performRestDelete, performRestForApiVersion, performRestGet, performRestGet, performRestGetForListBuckets, performRestHead, performRestOptions, performRestPost, performRestPost, performRestPut, performRestPut, renameMetadataKeys, retryRequest, setCanUseStandardHTTPHeaders, setProviderCredentials, setupConnection, setupConnection, setupConnection, setUserHeaders, shutdown, shutdownImpl, sleepOnInternalError`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### 从接口继承的方法 com.oef.services.IOefClient

      `close`

- - ### 构造器详细资料

    - #### OefClient

          public OefClient(String endPoint)

      Constructor
      参数:
        `endPoint` - OEF service address

    - #### OefClient

          public OefClient(ObsConfiguration config)

      Constructor
      参数:
        `config` - Configuration parameters of OEF client

    - #### OefClient

          public OefClient(String accessKey,
                           String secretKey,
                           String endPoint)

      Constructor
      参数:
        `accessKey` - Access key ID
        `secretKey` - Secret access key
        `endPoint` - OEF service address

    - #### OefClient

          public OefClient(String accessKey,
                           String secretKey,
                           ObsConfiguration config)

      Constructor
      参数:
        `accessKey` - Access key ID
        `secretKey` - Secret access key
        `config` - Configuration parameters of OEF client

    - #### OefClient

          public OefClient(String accessKey,
                           String secretKey,
                           String securityToken,
                           String endPoint)

      Constructor
      参数:
        `accessKey` - AK in the temporary access keys
        `secretKey` - SK in the temporary access keys
        `securityToken` - Security token
        `endPoint` - OEF service address

    - #### OefClient

          public OefClient(String accessKey,
                           String secretKey,
                           String securityToken,
                           ObsConfiguration config)

      Constructor
      参数:
        `accessKey` - AK in the temporary access keys
        `secretKey` - SK in the temporary access keys
        `securityToken` - Security Token
        `config` - Configuration parameters of OEF client

  - ### 方法详细资料

    - #### putExtensionPolicy

          public HeaderResponse putExtensionPolicy(String bucketName,
                                                   PutExtensionPolicyRequest request)
                                            throws ObsException

      从接口复制的说明: `IOefClient`
      Configure an asynchronous policy.
      指定者:
        `putExtensionPolicy` 在接口中 `IOefClient`
      参数:
        `bucketName` - Bucket name
        `request` - Asynchronous policy
      返回:
        Common response headers
      抛出:
        `ObsException` - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails

    - #### queryExtensionPolicy

          public QueryExtensionPolicyResult queryExtensionPolicy(String bucketName)
                                                          throws ObsException

      从接口复制的说明: `IOefClient`
      Query an asynchronous policy
      指定者:
        `queryExtensionPolicy` 在接口中 `IOefClient`
      参数:
        `bucketName` - Bucket name
      返回:
        ExtensionPolicyResult
      抛出:
        `ObsException` - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails

    - #### deleteExtensionPolicy

          public HeaderResponse deleteExtensionPolicy(String bucketName)
                                               throws ObsException

      从接口复制的说明: `IOefClient`
      Delete an asynchronous policy
      指定者:
        `deleteExtensionPolicy` 在接口中 `IOefClient`
      参数:
        `bucketName` - Bucket name
      返回:
        Common response headers
      抛出:
        `ObsException` - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails

    - #### createFetchJob

          public CreateAsynchFetchJobsResult createFetchJob(CreateAsyncFetchJobsRequest request)
                                                     throws ObsException

      从接口复制的说明: `IOefClient`
      Create an asynchronous fetch job
      指定者:
        `createFetchJob` 在接口中 `IOefClient`
      参数:
        `request` - Asynchronous fetch job
      返回:
        CreateAsynchFetchJobsResult
      抛出:
        `ObsException` - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails

    - #### queryFetchJob

          public QueryAsynchFetchJobsResult queryFetchJob(String bucketName,
                                                          String jobId)
                                                   throws ObsException

      从接口复制的说明: `IOefClient`
      Query an asynchronous fetch job
      指定者:
        `queryFetchJob` 在接口中 `IOefClient`
      参数:
        `bucketName` - Bucket name
        `jobId` - Job ID
      返回:
        QueryAsynchFetchJobsResult
      抛出:
        `ObsException` - OBS SDK self-defined exception, thrown when the interface fails to be called or access to OBS fails

Copyright © 2021. All rights reserved.