Fork me on GitHub


HttpBuilder-NG is a modern Groovy DSL for making HTTP requests. It requires Java 8 and a modern Groovy. It is built against Groovy 2.4.x, but it doesn't make any assumptions about which version of Groovy you are using. The main goal of HttpBuilder-NG is to allow you to make http requests in a natural and readable way. See the User Guide for more details.



The following client implementations are available:

Name Description
core The default implementation based on the core Java `HttpURLConnection' class. This library also includes all the common library components used by other client implementations.
apache Client implementation based on the Apache HttpComponents client.
okhttp Client implementation based on the OkHttp client library.

The library artifacts are available on Bintray and Maven Central. For Gradle:

compile 'io.github.http-builder-ng:http-builder-ng-[library-name]:1.0.0'

For Maven: