public class ShowApiRequest extends NormalRequest
allowRedirect, body, bodyString, charset, charset_out, connectTimeout, headMap, printException, readTimeout, res_headMap, textMap, uploadMap, url| Constructor and Description |
|---|
ShowApiRequest(String url,
String appid,
String appSecret) |
| Modifier and Type | Method and Description |
|---|---|
String |
get() |
String |
getAppSecret() |
byte[] |
getAsByte() |
static void |
main(String[] args) |
String |
post() |
byte[] |
postAsByte() |
void |
setAppSecret(String appSecret) |
addFilePara, addHeadPara, addTextPara, getBody, getBodyString, getCharset_out, getCharset, getConnectTimeout, getHeadMap, getProxy, getReadTimeout, getRes_headMap, getTextMap, getUploadMap, getUrl, isAllowRedirect, isPrintException, setAllowRedirect, setBody, setBodyString, setCharset_out, setCharset, setConnectTimeout, setHeadMap, setPrintException, setProxy, setReadTimeout, setRes_headtMap, setTextMap, setUploadMap, setUrlpublic String getAppSecret()
public void setAppSecret(String appSecret)
public String post()
post in class NormalRequestpublic byte[] postAsByte()
postAsByte in class NormalRequestpublic String get()
get in class NormalRequestpublic byte[] getAsByte()
getAsByte in class NormalRequestCopyright © 2018. All rights reserved.