Is there an equivalent of Groovy's HTTPBuilder for Java?
- Does HTTPClient work for you?Jeremy– Jeremy2012-05-18 02:48:31 +00:00Commented May 18, 2012 at 2:48
- I'm using HTTPClient right now. HTTPBuilder is a wrapper around HTTPClient. I want to try it in my project because it provides built in xml and json parser support and different mechanism to create and manipulate uri's. I am not using any specific framework.TERACytE– TERACytE2012-05-18 03:01:16 +00:00Commented May 18, 2012 at 3:01
- Correction, I'm not tied to any specific framework.TERACytE– TERACytE2012-05-18 03:07:27 +00:00Commented May 18, 2012 at 3:07
Add a comment |
1 Answer
Add groovy support to your existing project and use Groovy's HTTPBuilder
http://briantarbox.blogspot.co.uk/2009/01/tutorial-for-adding-groovy-to-java.html
"Overall this should take no more than twenty minutes or so."