adding default contructor to RequestConfig to being able to inject it with new CDI specification

Contributed by Nykolas Lima <nykolas.lima at gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1662807 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Oleg Kalnichevski 2015-02-27 20:13:38 +00:00
parent fc250e5616
commit ed79acbef0
1 changed files with 7 additions and 0 deletions

View File

@ -60,6 +60,13 @@ public class RequestConfig implements Cloneable {
private final int socketTimeout;
private final boolean decompressionEnabled;
/**
* Intended for CDI compatibility
*/
protected RequestConfig() {
this(false, null, null, false, null, false, false, false, 0, false, null, null, 0, 0, 0, false);
}
RequestConfig(
final boolean expectContinueEnabled,
final HttpHost proxy,