2
回答
问个简单问题 ··· 一时没想到
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   
public class App {
public static void main(String[] args) throws ClientProtocolException,
IOException {
HttpClient httpClient = new DefaultHttpClient();
HttpGet get = new HttpGet("https://www.baidu.com/");
HttpResponse httpResponse = httpClient.execute(get);
System.out.println(EntityUtils.toString(httpResponse.getEntity()));
}

}


为啥不需要对ssl处理也能访问? ·· 我先看看源码, 

举报
顶部