groovyx.net.http.package.html Maven / Gradle / Ivy
Show all versions of http-builder Show documentation
HTTPBuilder provides a simple Groovy API for HTTP and REST client operations.
It supports multiple callbacks based on response status code, and a mechanism
to automatically parse and encode many common content-types such as XML, JSON,
HTML, and plain text. HTTPBuilder also supports easy configuration for common
authentication mechanisms, and common content-encodings as well.
Package Specification
The primary class is {@link groovyx.net.http.HTTPBuilder HTTPBuilder}, which
provides the most features and functionality.
{@link groovyx.net.http.RESTClient RESTClient},
{@link groovyx.net.http.AsyncHTTPBuilder AsyncHTTPBuilder} and
{@link groovyx.net.http.HttpURLClient HttpURLClient} are variants provided
for more specialized use cases.
{@link groovyx.net.http.URIBuilder URIBuilder} is used by HTTPBuilder classes
for URL manipulation, but it may also be useful on its own. The remaining
classes provide supporting functions for HTTPBuilder and are probably only
useful for customizing or extending HTTPBuilder functionality.
Related Documentation
For overviews, tutorials, examples, guides, and tool documentation, please see:
For content-type parser and encoder support, see:
@author Tom Nichols
@see groovyx.net.http.HTTPBuilder
@see groovyx.net.http.RESTClient
@see groovyx.net.http.URIBuilder
@see groovyx.net.http.AsyncHTTPBuilder
@see groovyx.net.http.HttpURLClient