net.polyv.live.v1.service.web.impl
类 LiveWebAuthServiceImpl

java.lang.Object
  继承者 net.polyv.live.v1.service.LiveBaseService
      继承者 net.polyv.live.v1.service.web.impl.LiveWebAuthServiceImpl
所有已实现的接口:
ILiveWebAuthService

public class LiveWebAuthServiceImpl
extends LiveBaseService
implements ILiveWebAuthService

直播Web观看页管理


字段摘要
 
从类 net.polyv.live.v1.service.LiveBaseService 继承的字段
ERROR_INFO, ERROR_PREFIX, ERROR_PREFIX1, ERROR_SUFFIX
 
构造方法摘要
LiveWebAuthServiceImpl()
           
 
方法摘要
 Boolean createChannelWriteList(LiveCreateChannelWriteListRequest liveCreateChannelWriteListRequest)
          添加单个白名单
 Boolean deleteChannelWriteList(LiveDeleteChannelWriteListRequest liveDeleteChannelWriteListRequest)
          删除白名单 API地址:https://dev.polyv.net/2020/liveproduct/l-api/szgkygg/ymgktj/delete-white-list/
 byte[] downloadChannelAuthInfo(LiveDownloadChannelAuthInfoRequest liveDownloadChannelAuthInfoRequest)
          下载频道登记观看记录 API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/download-record-info/
 LiveChannelAuthResponse getChannelAuth(LiveChannelAuthRequest liveChannelAuthRequest)
          查询直播频道观看条件 API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/auth/
 LiveChannelAuthFieldResponse getChannelAuthField(LiveChannelAuthFieldRequest liveChannelAuthFieldRequest)
          查询频道或全局登记观看字段 API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/get-record-field/
 LiveChannelAuthInfoResponse getChannelAuthInfo(LiveChannelAuthInfoRequest liveChannelAuthInfoRequest)
          查询页面登记观看列表 API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/get-record-info/
 LiveChannelWriteListResponse getChannelWriteList(LiveChannelWriteListRequest liveChannelWriteListRequest)
          查询频道观看白名单列表 API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/get-white-list/
 Boolean updateChannelAuth(LiveUpdateChannelAuthRequest liveUpdateChannelAuthRequest)
          设置观看条件 API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/channel-auth-update/
 LiveChannelAuthCustomResponse updateChannelAuthCustom(LiveChannelAuthCustomRequest liveChannelAuthCustomRequest)
          设置自定义授权地址 API地址:https://dev.polyv.net/2016/liveproduct/l-api/szgkygg/ymgktj/zbsq/
 LiveChannelAuthExternalResponse updateChannelAuthExternal(LiveChannelAuthExternalRequest liveChannelAuthExternalRequest)
          通过接口设置外部授权 API地址:https://dev.polyv.net/2017/liveproduct/l-api/szgkygg/ymgktj/externalauth/
 Boolean updateChannelAuthType(LiveChannelAuthTypeRequest liveChannelAuthTypeRequest)
          设置授权观看类型 API地址:https://dev.polyv.net/2017/liveproduct/l-api/szgkygg/ymgktj/set-auth-type/
 Boolean updateChannelAuthUrl(LiveUpdateChannelAuthUrlRequest liveUpdateChannelAuthUrlRequest)
          设置授权认证URL API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/update-auth-url/
 Boolean updateChannelWriteList(LiveUpdateChannelWriteListRequest liveUpdateChannelWriteListRequest)
          更新白名单 API地址:https://dev.polyv.net/2020/liveproduct/l-api/szgkygg/ymgktj/update-white-list/
 Boolean uploadWriteList(LiveUploadWriteListRequest liveUploadWriteListRequest)
          新增白名单 API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/upload-white-list/
 
从类 net.polyv.live.v1.service.LiveBaseService 继承的方法
baseGet, baseGetReturnArray, baseGetReturnArray, basePost, basePostJson, basePostJson, basePostJsonReturnArray, basePostReturnArray, baseUploadFile, baseUploadFileList, baseUploadFileListReturnArray
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

LiveWebAuthServiceImpl

public LiveWebAuthServiceImpl()
方法详细信息

createChannelWriteList

public Boolean createChannelWriteList(LiveCreateChannelWriteListRequest liveCreateChannelWriteListRequest)
                               throws IOException,
                                      NoSuchAlgorithmException
添加单个白名单

指定者:
接口 ILiveWebAuthService 中的 createChannelWriteList
参数:
liveCreateChannelWriteListRequest - 添加单个白名单请求体
返回:
添加单个白名单返回体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

updateChannelAuth

public Boolean updateChannelAuth(LiveUpdateChannelAuthRequest liveUpdateChannelAuthRequest)
                          throws IOException,
                                 NoSuchAlgorithmException
设置观看条件 API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/channel-auth-update/

指定者:
接口 ILiveWebAuthService 中的 updateChannelAuth
参数:
liveUpdateChannelAuthRequest - 设置观看条件请求实体
返回:
设置观看条件返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

updateChannelAuthExternal

public LiveChannelAuthExternalResponse updateChannelAuthExternal(LiveChannelAuthExternalRequest liveChannelAuthExternalRequest)
                                                          throws IOException,
                                                                 NoSuchAlgorithmException
通过接口设置外部授权 API地址:https://dev.polyv.net/2017/liveproduct/l-api/szgkygg/ymgktj/externalauth/

指定者:
接口 ILiveWebAuthService 中的 updateChannelAuthExternal
参数:
liveChannelAuthExternalRequest - 通过接口设置外部授权请求实体
返回:
通过接口设置外部授权返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

updateChannelAuthCustom

public LiveChannelAuthCustomResponse updateChannelAuthCustom(LiveChannelAuthCustomRequest liveChannelAuthCustomRequest)
                                                      throws IOException,
                                                             NoSuchAlgorithmException
设置自定义授权地址 API地址:https://dev.polyv.net/2016/liveproduct/l-api/szgkygg/ymgktj/zbsq/

指定者:
接口 ILiveWebAuthService 中的 updateChannelAuthCustom
参数:
liveChannelAuthCustomRequest - 设置自定义授权地址请求实体
返回:
设置自定义授权地址返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

updateChannelAuthType

public Boolean updateChannelAuthType(LiveChannelAuthTypeRequest liveChannelAuthTypeRequest)
                              throws IOException,
                                     NoSuchAlgorithmException
设置授权观看类型 API地址:https://dev.polyv.net/2017/liveproduct/l-api/szgkygg/ymgktj/set-auth-type/

指定者:
接口 ILiveWebAuthService 中的 updateChannelAuthType
参数:
liveChannelAuthTypeRequest - 设置授权观看类型请求实体
返回:
设置授权观看类型返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

getChannelAuth

public LiveChannelAuthResponse getChannelAuth(LiveChannelAuthRequest liveChannelAuthRequest)
                                       throws IOException,
                                              NoSuchAlgorithmException
查询直播频道观看条件 API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/auth/

指定者:
接口 ILiveWebAuthService 中的 getChannelAuth
参数:
liveChannelAuthRequest - 查询直播频道观看条件请求实体
返回:
查询直播频道观看条件返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

getChannelWriteList

public LiveChannelWriteListResponse getChannelWriteList(LiveChannelWriteListRequest liveChannelWriteListRequest)
                                                 throws IOException,
                                                        NoSuchAlgorithmException
查询频道观看白名单列表 API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/get-white-list/

指定者:
接口 ILiveWebAuthService 中的 getChannelWriteList
参数:
liveChannelWriteListRequest - 查询频道观看白名单列表请求实体
返回:
查询频道观看白名单列表返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

updateChannelAuthUrl

public Boolean updateChannelAuthUrl(LiveUpdateChannelAuthUrlRequest liveUpdateChannelAuthUrlRequest)
                             throws IOException,
                                    NoSuchAlgorithmException
设置授权认证URL API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/update-auth-url/

指定者:
接口 ILiveWebAuthService 中的 updateChannelAuthUrl
参数:
liveUpdateChannelAuthUrlRequest - 设置授权认证URL请求实体
返回:
设置授权认证URL返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

updateChannelWriteList

public Boolean updateChannelWriteList(LiveUpdateChannelWriteListRequest liveUpdateChannelWriteListRequest)
                               throws IOException,
                                      NoSuchAlgorithmException
更新白名单 API地址:https://dev.polyv.net/2020/liveproduct/l-api/szgkygg/ymgktj/update-white-list/

指定者:
接口 ILiveWebAuthService 中的 updateChannelWriteList
参数:
liveUpdateChannelWriteListRequest - 更新白名单请求实体
返回:
更新白名单返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

deleteChannelWriteList

public Boolean deleteChannelWriteList(LiveDeleteChannelWriteListRequest liveDeleteChannelWriteListRequest)
                               throws IOException,
                                      NoSuchAlgorithmException
删除白名单 API地址:https://dev.polyv.net/2020/liveproduct/l-api/szgkygg/ymgktj/delete-white-list/

指定者:
接口 ILiveWebAuthService 中的 deleteChannelWriteList
参数:
liveDeleteChannelWriteListRequest - 删除白名单请求实体
返回:
删除白名单返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

getChannelAuthField

public LiveChannelAuthFieldResponse getChannelAuthField(LiveChannelAuthFieldRequest liveChannelAuthFieldRequest)
                                                 throws IOException,
                                                        NoSuchAlgorithmException
查询频道或全局登记观看字段 API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/get-record-field/

指定者:
接口 ILiveWebAuthService 中的 getChannelAuthField
参数:
liveChannelAuthFieldRequest - 查询频道或全局登记观看字段请求实体
返回:
查询频道或全局登记观看字段返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

getChannelAuthInfo

public LiveChannelAuthInfoResponse getChannelAuthInfo(LiveChannelAuthInfoRequest liveChannelAuthInfoRequest)
                                               throws IOException,
                                                      NoSuchAlgorithmException
查询页面登记观看列表 API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/get-record-info/

指定者:
接口 ILiveWebAuthService 中的 getChannelAuthInfo
参数:
liveChannelAuthInfoRequest - 查询页面登记观看列表请求实体
返回:
查询页面登记观看列表返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

downloadChannelAuthInfo

public byte[] downloadChannelAuthInfo(LiveDownloadChannelAuthInfoRequest liveDownloadChannelAuthInfoRequest)
                               throws IOException,
                                      NoSuchAlgorithmException
下载频道登记观看记录 API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/download-record-info/

指定者:
接口 ILiveWebAuthService 中的 downloadChannelAuthInfo
参数:
liveDownloadChannelAuthInfoRequest - 下载频道登记观看记录请求实体
返回:
下载频道登记观看记录返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常

uploadWriteList

public Boolean uploadWriteList(LiveUploadWriteListRequest liveUploadWriteListRequest)
                        throws IOException,
                               NoSuchAlgorithmException
新增白名单 API地址:https://dev.polyv.net/2018/liveproduct/l-api/szgkygg/ymgktj/upload-white-list/

指定者:
接口 ILiveWebAuthService 中的 uploadWriteList
参数:
liveUploadWriteListRequest - 新增白名单请求实体
返回:
新增白名单返回实体
抛出:
IOException - 异常
NoSuchAlgorithmException - 异常


Copyright © 2020. All Rights Reserved.