public class QSBuilder extends Object
| 构造器和说明 |
|---|
QSBuilder(Map context,
RequestInputModel params) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getExpiresRequestUrl() |
okhttp3.Request |
getRequest(okhttp3.RequestBody requestBody) |
okhttp3.RequestBody |
getRequestBody() |
okhttp3.RequestBody |
getRequestBody(QSRequestBody qsRrequestBody) |
String |
getStringToSignature() |
void |
setHeader(String key,
String authorization) |
void |
setSignature(String accessKey,
String signature) |
public QSBuilder(Map context, RequestInputModel params) throws QSException
QSExceptionpublic void setSignature(String accessKey, String signature) throws QSException
QSExceptionpublic String getStringToSignature() throws QSException
QSExceptionpublic okhttp3.RequestBody getRequestBody(QSRequestBody qsRrequestBody) throws QSException
QSExceptionpublic okhttp3.RequestBody getRequestBody()
throws QSException
QSExceptionpublic okhttp3.Request getRequest(okhttp3.RequestBody requestBody)
throws QSException
QSExceptionpublic String getExpiresRequestUrl() throws QSException
QSExceptionCopyright © 2018. All rights reserved.