net.polyv.vod.v1.config
类 VodGlobalConfig

java.lang.Object
  继承者 net.polyv.vod.v1.config.VodGlobalConfig

public class VodGlobalConfig
extends Object


构造方法摘要
VodGlobalConfig()
           
 
方法摘要
static String getReadToken()
           
static String getSecretKey()
           
static String getUserId()
           
static String getWriteToken()
           
static void init(String userId, String writeToken, String readToken, String secretKey)
          点播业务全局初始化
static void init(String userId, String writeToken, String readToken, String secretKey, Integer timeOut, Integer maxClientNum)
          点播业务全局初始化
 
从类 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 - 系统分配的USERID
writeToken - 写入操作密钥
readToken - 读取操作密钥
secretKey - 鉴权密钥

init

public static void init(String userId,
                        String writeToken,
                        String readToken,
                        String secretKey,
                        Integer timeOut,
                        Integer maxClientNum)
点播业务全局初始化

参数:
userId - 系统分配的USERID
writeToken - 写入操作密钥
readToken - 读取操作密钥
secretKey - 鉴权密钥


Copyright © 2020. All Rights Reserved.