public class HttpClient extends AbstractHttpWrapper
| 构造器和说明 |
|---|
HttpClient(String endpoint,
String path,
String secretId,
String secretKey,
String method,
String signMethod) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
addSignature(TreeMap<String,String> param,
String src,
String secretKey)
add Signature to param
|
protected void |
addSignatureMethod(TreeMap<String,String> param)
add Signature Method to param
|
protected String |
doRequest(String method,
String url,
String requestParam)
do Request
|
callprotected String doRequest(String method, String url, String requestParam)
AbstractHttpWrapperdoRequest 在类中 AbstractHttpWrapperprotected void addSignature(TreeMap<String,String> param, String src, String secretKey) throws NoSuchAlgorithmException, UnsupportedEncodingException, InvalidKeyException
AbstractHttpWrapperprotected void addSignatureMethod(TreeMap<String,String> param)
AbstractHttpWrapperaddSignatureMethod 在类中 AbstractHttpWrapperCopyright © 2020. All rights reserved.