net.polyv.vod.v1.config
类 VodGlobalConfig
java.lang.Object
net.polyv.vod.v1.config.VodGlobalConfig
public class VodGlobalConfig
- extends Object
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VodGlobalConfig
public VodGlobalConfig()
getUserId
public static String getUserId()
getWriteToken
public static String getWriteToken()
getReadToken
public static String getReadToken()
getSecretKey
public static String getSecretKey()
init
public static void init(String userId,
String writeToken,
String readToken,
String secretKey)
- 点播业务全局初始化
- 参数:
userId - 系统分配的USERIDwriteToken - 写入操作密钥readToken - 读取操作密钥secretKey - 鉴权密钥
init
public static void init(String userId,
String writeToken,
String readToken,
String secretKey,
Integer timeOut,
Integer maxClientNum)
- 点播业务全局初始化
- 参数:
userId - 系统分配的USERIDwriteToken - 写入操作密钥readToken - 读取操作密钥secretKey - 鉴权密钥
Copyright © 2020. All Rights Reserved.