发送Get请求 @param url 请求URL @return HTTP响应对象 @throws IOException 程序异常时抛出,由调用者处理
(String url)
| 77 | * @throws IOException 程序异常时抛出,由调用者处理 |
| 78 | */ |
| 79 | public static Response get(String url) throws IOException { |
| 80 | return get(url, null); |
| 81 | } |
| 82 | |
| 83 | /** |
| 84 | * 发送Get请求 |