No description
19b9208094
We are subclassing `Timer` to create our own `ClientTimer` instances. Unfortunately, the method we would like to use to register these on the MetricRegistry, `getOrAdd()`, is private. Instead, we have to have our own `getOrAddTimer()` to handle getting the timer if it has already been registered, or registering a new one. This commit updates our implementation of `getOrAddTimer()` to match the logic of `getOrAdd()`. |
||
---|---|---|
dev-resources | ||
doc | ||
ext/travisci | ||
jenkins | ||
src | ||
test | ||
.gitignore | ||
.travis.yml | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
project.clj | ||
README.md |
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.
Installation
Add the following dependency to your project.clj
file:
Details
Async versions of the http methods are exposed in puppetlabs.http.client.async, and synchronous versions are in puppetlabs.http.client.sync. For information on using these namespaces, see the page on making requests with clojure clients.
Additionally, this library allows you to make requests using Java clients. For information on how to do this, see the page on making requests with java clients.
Support
We use the Trapperkeeper project on JIRA for tickets on clj-http-client, although Github issues are welcome too.