Async Http Client Plugin

Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID async-http-client Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
Dependencies
1.7.8 (archives)
Dec 18, 2012
1.424
Source Code
Issue Tracking
Pull Requests
Maintainer(s)
GitHub
Open Issues
Pull Requests
Stephen Connolly (id: stephenc)
Usage Installations 2014-Aug 1406
2014-Sep 1446
2014-Oct 1511
2014-Nov 1502
2014-Dec 1441
2015-Jan 1516
2015-Feb 1561
2015-Mar 1656
2015-Apr 1719
2015-May 1723
2015-Jun 1889
2015-Jul 1970

Async Http Client Plugin

This plugin provides a shared dependency on the ning.com async-http-client library so that other plugins can co-operate when using this library.

Beside the dependency to the async library (https://github.com/AsyncHttpClient/async-http-client), this plugin also provides a utility class to help you get the proxyserver instance that is correct for the current jenkins instance.

Typical config setup
  AsyncHttpClientConfig.Builder httpClientConfig =
          new AsyncHttpClientConfig.Builder().setRequestTimeoutInMs(25000)
               .setProxyServer(AHCUtils.getProxyServer());

For code which is running on the master and is happy to use a shared instance that will be shut down with Jenkins, as of 1.7.8, there is a singleton which keeps an instance configured for the current proxy server:

AHC.instance()

There is also a responsive mailing list for using the base async-http-client library at: https://groups.google.com/forum/?fromgroups#!forum/asynchttpclient|https://groups.google.com/forum/?fromgroups#!forum/asynchttpclient

Change Log

Version 1.7.8 (Dec 2012)

  • Added AHC.instance() to provide a shared instance for use on the master.
  • Updated async-http-client dependency to 1.7.8

Version 1.7.4-1 (May 2012)

  • Fixed plugin description when the plugin is installed.

Version 1.7.4 (May 2012)

  • Updated async-http-client dependency to 1.7.4.

Version 1.7.2-1 (April 2012)

  • Changed required core from 1.424 to 1.398 to allow for greater uptake

Version 1.7.2 (April 2012)

  • Initial release, based on com.ning:async-http-client:1.7.2

Labels

Edit
plugin-library plugin-library Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.