|
@@ -146,6 +146,10 @@ public class HttpClientUtil {
|
|
|
String result = post(url, content, 300000, null, null, null);
|
|
|
return result;
|
|
|
}
|
|
|
+ public synchronized String post(String url, String content, HttpServletRequest request) throws Exception {
|
|
|
+ String result = post(url, content, 300000, null, null, request);
|
|
|
+ return result;
|
|
|
+ }
|
|
|
|
|
|
public synchronized String post(String url, String content, HttpServletResponse response) throws Exception {
|
|
|
String result = post(url, content, 300000, null, response, null);
|