public class HttpRequestUtil extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
HttpRequestUtil() |
public static okhttp3.Response sendPost(String url, String data, Map<String,String> headers) throws RemoteException
RemoteExceptionpublic static okhttp3.Response sendPost(String url, String data) throws RemoteException
RemoteExceptionpublic static String sendGet(String url, Map<String,String> headers) throws RemoteException
RemoteExceptionpublic static String sendGet(String url) throws RemoteException
RemoteExceptionCopyright © 2019. All rights reserved.