Warm tip: This article is reproduced from stackoverflow.com, please click
groovy http java

Where does the groovy http-builder module live now?

发布于 2020-04-13 10:40:46

The documentation for for the groovy http-builder module used to live here-ish: http://repository.codehaus.org/org/codehaus/groovy/modules/http-builder/http-builder

After codehaus shut down did http-builder and HttpClient get moved / did apache start maintaining them? I'm wondering if there's newer-than-2014 version anywhere and where I could find up to date documentation? Google is not being helpful so clearly I'm searching for the wrong things.

Questioner
David
Viewed
86
daggett 2020-02-05 01:02

The classic HttpBuilder is located here

https://github.com/jgritman/httpbuilder/wiki

you could grab it from maven repository using following annotation in groovy code:

@Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.7.1')
import groovyx.net.http.HTTPBuilder
...

There is also a newer fork HttpBuilder-NG referenced in the documentation above

https://github.com/http-builder-ng/http-builder-ng