No description
Find a file
Jeremy Barlow e5f55affd3 (TK-103) Reworked sync single request APOIs to create and close client
For both the Clojure and Java single request APIs, the internal
implementation now creates an http client, makes a request on it, and
calls close on the client when done.  The close at the end avoids
resource leaks.

In support of this, the `JavaClient` class now requires the caller to
create an instance rather than just make a call to the static
`request` method on the `JavaClient` class.

The `coerceBodyType` method on the `JavaClient` class now closes the
body `InputStream` after coercing the stream content into a `String`.
This eliminates a possible resource leak and makes the Java-layer
coerce implementation consistent with the Clojure-layer coerce in
that the latter was already, via the use of the Clojure `slurp`
function, closing the stream content after coercing to `String`.
2014-11-12 14:11:16 -08:00
dev-resources/ssl Add missing pem file 2014-04-14 15:48:59 -07:00
ext/travisci Add travis config 2014-03-27 12:49:54 -07:00
jenkins Fix variable name in deploy script 2014-03-12 13:52:29 -07:00
src (TK-103) Reworked sync single request APOIs to create and close client 2014-11-12 14:11:16 -08:00
test (TK-103) Remove AsyncClose class and references 2014-11-12 11:37:44 -08:00
.gitignore Add travis config 2014-03-27 12:49:54 -07:00
.travis.yml Remove jdk6 from travis test matrix 2014-04-28 11:17:07 -07:00
CHANGELOG.md Update CHANGELOG for 0.3.1 release. 2014-10-22 16:21:09 -07:00
CONTRIBUTING.md Add CONTRIBUTING.md 2014-04-15 17:04:52 -07:00
LICENSE Add license and readme. 2014-03-11 17:38:13 -07:00
project.clj lein-release plugin: bumped version from 0.3.1 to 0.3.2-SNAPSHOT for next development cycle 2014-10-22 16:22:43 -07:00
README.md (doc) Update README to link to Apache HttpAsyncClient 2014-07-28 14:45:45 -07:00

Build Status

puppetlabs/http-client

This is a wrapper around the Apache HttpAsyncClient library providing some extra functionality for configuring SSL in a way compatible with Puppet.

Async versions of the http methods are exposed in puppetlabs.http.client.async, and synchronous versions are in puppetlabs.http.client.sync.