ITeye博客

java http

共 1 篇文章

我的新的开源项目happyhttp上线了

happyhttp 简单而强大的http client 库 项目地址:https://github.com/yuancihang/happyhttp public static void sampleGet(){ String text = HttpBuilder.newGet("http://www.xxx.com/").execute().getBodyAsText(); System.err.println(text); } public static void samplePost(){ HttpResponse response = HttpBuilder .newPost("ht…

2016-11-26 21:10 · java http