Описание тега httpbuilder
HTTPBuilder is a wrapper for Apache's HttpClient, with some (actually, a lot of) Groovy syntactical sugar thrown on top. The request/response model is also inspired by Prototype.js' Ajax.Request.
HTTPBuilder wraps Apache's HttpClient, with Groovy syntactical sugar thrown on top.
It handles common tasks such as building and parsing common content-types, handling common content-encodings, and built-in support for common authentication mechanisms. It works equally as well for simple REST-based requests, or ad-hoc web downloads.
The request/response model is inspired by Prototype.js's Ajax.Request.