IOException {
return request(url, data, methodType, timeout, JSONObject
.fromObject(jsonFmtHeaders));
}
public static Map< , > request(String url, byte[] data, String methodType,
int timeout) throws HttpException, IOException {
writeLog.write("dispatch_","Connector request().");
return request(url, data, methodType, timeout, (JSONObject) null);
}
Map
if (null != headers) {
tmp = new HashMap
for (Header header : headers) {
tmp.put(header.getName(), header.getValue());
}
}
return tmp;
}
}
作者 Willon_tom