public class BHttpResUtil extends Object
| 构造器和说明 |
|---|
BHttpResUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static com.alibaba.fastjson.JSONObject |
sendHttpGetRequest(String url) |
static com.alibaba.fastjson.JSONObject |
sendHttpPostRequest(String url,
com.alibaba.fastjson.JSONObject params) |
static com.alibaba.fastjson.JSONObject |
sendSSLGetRequest(String url) |
static com.alibaba.fastjson.JSONObject |
sendSSLPostRequest(String url,
String params) |
static <T> void |
writeResContent(BHttpResContent<T> httpResContent,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
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 writeResContent(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) throws Exception
Exceptionpublic static <T> void writeResResult4Jsonp(BHttpResContent<T> httpResContent, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exceptionpublic 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.