public class VClassGlobalConfig extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getAppId() |
static String |
getAppSecret() |
static String |
getUserId() |
static void |
init(String appId,
String userId,
String appSecret)
系统全局初始化
|
static void |
init(String appId,
String userId,
String appSecret,
Integer timeOut,
Integer maxClientNum)
系统全局初始化
|
static void |
init(String appId,
String userId,
String appSecret,
Integer timeOut,
Integer maxClientNum,
String hostName,
int port,
String scheme)
系统全局初始化
|
static void |
init(String appId,
String userId,
String appSecret,
String hostName,
int port,
String scheme)
系统全局初始化
|
public static String getAppId()
public static String getUserId()
public static String getAppSecret()
public static void init(String appId, String userId, String appSecret)
appId - appIduserId - userIdappSecret - appSecretpublic static void init(String appId, String userId, String appSecret, Integer timeOut, Integer maxClientNum)
appId - appIduserId - userIdappSecret - appSecrettimeOut - timeOutmaxClientNum - maxClientNumpublic static void init(String appId, String userId, String appSecret, String hostName, int port, String scheme)
appId - appIduserId - userIdappSecret - appSecrethostName - 代理地址port - 代理端口scheme - 协议,默认为httppublic static void init(String appId, String userId, String appSecret, Integer timeOut, Integer maxClientNum, String hostName, int port, String scheme)
appId - appIduserId - userIdappSecret - appSecrettimeOut - 超时时间maxClientNum - 链接池最大并发连接数hostName - 代理地址port - 代理端口scheme - 协议,默认为httpCopyright © 2022. All rights reserved.