You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2004/10/19 19:40:30 UTC
DO NOT REPLY [Bug 31783] New: -
http.connection-manager.timeout is a LONG not an INTEGER
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31783>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31783
http.connection-manager.timeout is a LONG not an INTEGER
Summary: http.connection-manager.timeout is a LONG not an INTEGER
Product: HttpClient
Version: 3.0 Alpha 2
Platform: Other
URL: http://jakarta.apache.org/commons/httpclient/3.0/prefere
nce-api.html
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Commons HttpClient
AssignedTo: commons-httpclient-dev@jakarta.apache.org
ReportedBy: pwc21@yahoo.com
Documentation is wrong.
Table in Preference Architecture page states http.connection-manager.timeout
is an Integer.
Doing:
setParameter("http.connection-manager.timeout", new Integer(n));
Causes:
java.lang.ClassCastException
at
org.apache.commons.httpclient.params.DefaultHttpParams.getLongParameter
(DefaultHttpParams.java:171)
at
org.apache.commons.httpclient.params.HttpClientParams.getConnectionManagerTimeo
ut(HttpClientParams.java:143)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod
(HttpMethodDirector.java:161)
at org.apache.commons.httpclient.HttpClient.executeMethod
(HttpClient.java:437)
at org.apache.commons.httpclient.HttpClient.executeMethod
(HttpClient.java:324)
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org