Package groovyx.net.http

Provides a simple Groovy API for HTTP/ REST client operations.

See:
          Description

Class Summary
AsyncHTTPBuilder This implementation makes all requests asynchronous by submitting jobs to a ThreadPoolExecutor.
AuthConfig Encapsulates all configuration related to HTTP authentication methods.
ContentEncoding Base class for handing content-encoding.
ContentEncodingRegistry Keeps track of available content-encoding handlers.
DeflateEncoding Content encoding used to handle Deflate responses.
DeflateEncoding.InflaterEntity Entity used to interpret a Deflate-encoded response
EncoderRegistry This factory (or registry) handles request body "encoding." This is not to be confused with HTTP content-encoding header.
GZIPEncoding Content encoding used to handle GZIP responses.
GZIPEncoding.GZIPDecompressingEntity Entity used to interpret a GZIP-encoded response
HTTPBuilder Groovy DSL for easily making HTTP requests, and handling request and response data.
ParserRegistry Keeps track of response parsers for each content type.
URIBuilder This class implements a mutable URI.
 

Enum Summary
ContentEncoding.Type Enumeration of common content-encodings.
ContentType Enumeration of common IANA content-types.
Method Enumeration of valid HTTP methods that may be used in a request call.
Status Mapping of HTTP response codes to a constant 'success' or 'failure' value.
 

Package groovyx.net.http Description

Provides a simple Groovy API for HTTP/ REST client operations. It supports multiple callbacks based on response status code, and a mechanism to 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 main client classes are HTTPBuilder and URIBuilder. All other classes in this package support HTTBuilder operations and allow for extensibility.

Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see: For content-type parser and encoder support, see:

Author:
Tom Nichols
See Also:
HTTPBuilder, URIBuilder


Copyright © 2008-2009. All Rights Reserved.