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:
parent
fc250e5616
commit
ed79acbef0
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue