public final class ConnUtil extends Object
| 构造器和说明 |
|---|
ConnUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
connRemote(String request,
String url)
Conn remote string.
|
static String |
connRemoteWithJson(String json,
String url)
Conn remote with json string.
|
static String |
connRemoteWithXml(String xml,
String url)
Conn remote with xml string.
|
static String |
connURL(String url) |
static String |
encryptPost(String data,
String url,
String pwd,
String absoluteFile)
Encrypt post string.
|
public static String connRemote(String request, String url) throws Exception
request - the requesturl - the urlException - the exceptionpublic static String connRemoteWithJson(String json, String url) throws Exception
json - the jsonurl - the urlException - the exceptionpublic static String connRemoteWithXml(String xml, String url) throws Exception
xml - the xmlurl - the urlException - the exceptionpublic static String encryptPost(String data, String url, String pwd, String absoluteFile)
data - the dataurl - the urlpwd - the pwdabsoluteFile - the absolute fileCopyright © 2017. All rights reserved.