HttpClientFactory引入即可使用。 //get请求 public static HttpResponse doGet(String url, Header[] headers); //贷cookie的post请求 public static HttpResponse doPost(String url,CookieStore cookieStore , Header[] headers,List params); //字节型参数的post请求 public static HttpResponse doPost(String url,