HTTPCLIENT-1418: fixed class cast exception in HttpClientParamConfig#getRequestConfig
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1530309 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4f03bedbf8
commit
bcd41d700f
|
@ -72,7 +72,7 @@ public final class HttpClientParamConfig {
|
||||||
ClientPNames.HANDLE_AUTHENTICATION, true))
|
ClientPNames.HANDLE_AUTHENTICATION, true))
|
||||||
.setCircularRedirectsAllowed(params.getBooleanParameter(
|
.setCircularRedirectsAllowed(params.getBooleanParameter(
|
||||||
ClientPNames.ALLOW_CIRCULAR_REDIRECTS, false))
|
ClientPNames.ALLOW_CIRCULAR_REDIRECTS, false))
|
||||||
.setConnectionRequestTimeout(params.getIntParameter(
|
.setConnectionRequestTimeout((int) params.getLongParameter(
|
||||||
ClientPNames.CONN_MANAGER_TIMEOUT, 0))
|
ClientPNames.CONN_MANAGER_TIMEOUT, 0))
|
||||||
.setCookieSpec((String) params.getParameter(
|
.setCookieSpec((String) params.getParameter(
|
||||||
ClientPNames.COOKIE_POLICY))
|
ClientPNames.COOKIE_POLICY))
|
||||||
|
|
Loading…
Reference in New Issue