类 PartnerClient
java.lang.Object
net.linksfield.cube.partnersdk.sdk.PartnerClient
- 所有已实现的接口:
Closeable,AutoCloseable
public final class PartnerClient extends Object implements Closeable
-
构造器概要
构造器 构造器 说明 PartnerClient(String accessKey, String privateKey)Initialize the SDKPartnerClient(String accessKey, String privateKey, String acceptLanguage)Initialize the SDK Customize the default request headers -
方法概要
-
构造器详细资料
-
PartnerClient
Initialize the SDK- 参数:
accessKey- AccessKeyprivateKey- PrivateKey
-
PartnerClient
Initialize the SDK Customize the default request headers- 参数:
accessKey- AccessKeyprivateKey- PrivateKeyacceptLanguage- Overwrite request header Accept-Language
-
-
方法详细资料
-
v1
Call the version 1.0 signature scheme- 返回:
- SDK
-
v2
Call the version 2.0 signature scheme- 返回:
- SDK
-
close
Close and release Http request client (maybe httpclient5 httpclient5 or okhttp)- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 抛出:
IOException
-