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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to