GitHub user nykolaslima opened a pull request:
https://github.com/apache/httpclient/pull/27
Being able to inject RequestConfig with CDI
CDI specification requires default constructor to being able to inject the
bean.
Since CDI is a Oracle specification and is getting used even more, I
believe `httpclient` should support it.
This PR adds a default constructor to `RequestConfig` class, allowing it to
be injected with CDI.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nykolaslima/httpclient
requestConfig-cdi-compatible
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/httpclient/pull/27.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #27
----
commit a04576bc0d749fa620c05fea54270d3436cda382
Author: Nykolas Lima <[email protected]>
Date: 2015-02-23T15:21:16Z
adding default contructor to RequestConfig to being able to inject it with
new CDI specification
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]