Package gnu.inet.http

This package contains an HTTP/1.1 client, as described in RFC 2616.

See: Description

Package gnu.inet.http Description

This package contains an HTTP/1.1 client, as described in RFC 2616. It supports the following features:

The API is similar to the neon WebDAV/HTTP library. A logical connection to the server is instantiated, and multiple requests can be issued for this connection. Each request has an atomic dispatch method which returns the response. All I/O, authentication, etc is handled by registering callback objects with the request prior to dispatch, which are notified during the dispatch procedure as necessary. Simple byte-array content callbacks are supplied which can manage any request/response content that fits in available memory.

An URL stream handler is provided, supporting the full HttpURLConnection specification.