public abstract class ParameteredHttpUtils extends HttpUtils
DEFAULT_CHARSET, DEFAULT_TIMEOUT| 构造器和说明 |
|---|
ParameteredHttpUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
doPost(HttpParameterHandler<?> handler,
Object instance,
String url,
String charset,
int timeout) |
static String |
doPost(Map<String,String> parameterMap,
String url,
String charset,
int timeout) |
static String |
doPost(Object parameterEntity,
String url,
String charset,
int timeout) |
static <T> String |
doPostWithParameterHandler(HttpParameterHandler<T> handler,
T instance,
String url,
String charset,
int timeout) |
buildUrlParams, executeRequest, getClient, getClient, getUrl, parseMapToHttpParameters, parseMapToPairs, post, post, readResponsepublic static String doPost(Object parameterEntity, String url, String charset, int timeout) throws UnsupportedEncodingException
public static String doPost(Map<String,String> parameterMap, String url, String charset, int timeout) throws UnsupportedEncodingException
public static String doPost(HttpParameterHandler<?> handler, Object instance, String url, String charset, int timeout) throws UnsupportedEncodingException
public static <T> String doPostWithParameterHandler(HttpParameterHandler<T> handler, T instance, String url, String charset, int timeout) throws UnsupportedEncodingException
Copyright © 2017. All rights reserved.