2

Is there an equivalent of Groovy's HTTPBuilder for Java?

TERACytE
  • 7,553
  • 13
  • 75
  • 111
  • Does [HTTPClient](http://hc.apache.org/) work for you? – Jeremy May 18 '12 at 02: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 May 18 '12 at 03:01
  • Correction, I'm not tied to any specific framework. – TERACytE May 18 '12 at 03:07

1 Answers1

1

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."

chim
  • 8,407
  • 3
  • 52
  • 60