|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectnet.polyv.vod.v1.service.VodBaseService
public class VodBaseService
点播公共服务类
| 构造方法摘要 | |
|---|---|
VodBaseService()
|
|
| 方法摘要 | ||
|---|---|---|
protected
|
baseGet(String url,
E e,
Class<T> tClass)
HTTP GET 公共请求 |
|
protected
|
baseGet(String url,
String pathVariable,
E e,
Class<T> tClass)
HTTP GET 公共请求 |
|
protected
|
basePost(String url,
E e,
Class<T> tClass)
HTTP POST 公共请求 |
|
protected
|
basePost(String url,
String pathVariable,
E e,
Class<T> tClass)
HTTP POST 公共请求 |
|
protected
|
basePostJson(String url,
E e,
Class<T> tClass)
HTTP POST 请求发送json |
|
protected
|
basePostJson(String url,
String pathVariable,
E e,
Class<T> tClass)
HTTP POST 请求发送json |
|
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public VodBaseService()
| 方法详细信息 |
|---|
protected <T,E extends VodCommonRequest> T baseGet(String url,
E e,
Class<T> tClass)
throws IOException,
NoSuchAlgorithmException
T - 返回对象泛型E - 请求参数泛型url - 请求URLe - 请求参数对象tClass - 返回对象class类型
IOException - 异常
NoSuchAlgorithmException - 签名异常
protected <T,E extends VodCommonRequest> T baseGet(String url,
String pathVariable,
E e,
Class<T> tClass)
throws IOException,
NoSuchAlgorithmException
T - 返回对象泛型E - 请求参数泛型url - 请求URLe - 请求参数对象tClass - 返回对象class类型pathVariable - 路径参数
IOException - 异常
NoSuchAlgorithmException - 签名异常
protected <T,E extends VodCommonRequest> T basePost(String url,
E e,
Class<T> tClass)
throws IOException,
NoSuchAlgorithmException
T - 返回对象泛型E - 请求参数泛型url - 请求URLe - 请求参数对象tClass - 返回对象class类型
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 签名异常
protected <T,E extends VodCommonRequest> T basePost(String url,
String pathVariable,
E e,
Class<T> tClass)
throws IOException,
NoSuchAlgorithmException
T - 返回对象泛型E - 请求参数泛型url - 请求URLe - 请求参数对象tClass - 返回对象class类型pathVariable - 路径参数
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 签名异常
protected <T,E extends VodCommonRequest> T basePostJson(String url,
E e,
Class<T> tClass)
throws IOException,
NoSuchAlgorithmException
T - 返回对象泛型E - 请求参数泛型url - 请求URLe - 请求参数对象tClass - 返回对象class类型
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 签名异常
protected <T,E extends VodCommonRequest> T basePostJson(String url,
String pathVariable,
E e,
Class<T> tClass)
throws IOException,
NoSuchAlgorithmException
T - 返回对象泛型E - 请求参数泛型url - 请求URLe - 请求参数对象tClass - 返回对象class类型pathVariable - 路径参数
IOException - 客户端和服务器读写异常
NoSuchAlgorithmException - 签名异常
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||