public class BHttpResUtil extends Object
| 构造器和说明 |
|---|
BHttpResUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static com.alibaba.fastjson.JSONObject |
sendHttpFilePostRequest(String urlStr,
com.alibaba.fastjson.JSONObject params)
发送包含文件的post请求(未完成)
|
static com.alibaba.fastjson.JSONObject |
sendHttpGetRequest(String url) |
static com.alibaba.fastjson.JSONObject |
sendHttpPostRequest(String url,
com.alibaba.fastjson.JSONObject params) |
static String |
sendHttpPostRequest(String url,
String xmlString) |
static com.alibaba.fastjson.JSONObject |
sendSSLGetRequest(String url) |
static com.alibaba.fastjson.JSONObject |
sendSSLPostRequest(String url,
String params) |
static <T> void |
writeResResult(BHttpResContent<T> httpResContent,
javax.servlet.http.HttpServletResponse response) |
static <T> void |
writeResResult4Jsonp(BHttpResContent<T> httpResContent,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
public static <T> void writeResResult(BHttpResContent<T> httpResContent, javax.servlet.http.HttpServletResponse response)
public static <T> void writeResResult4Jsonp(BHttpResContent<T> httpResContent, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public static com.alibaba.fastjson.JSONObject sendHttpPostRequest(String url, com.alibaba.fastjson.JSONObject params)
public static com.alibaba.fastjson.JSONObject sendHttpGetRequest(String url)
public static com.alibaba.fastjson.JSONObject sendSSLPostRequest(String url, String params)
public static com.alibaba.fastjson.JSONObject sendSSLGetRequest(String url)
Copyright © 2017. All rights reserved.