hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HTTPCLIENT-552) Add shutdown method to SimpleHttpConnectionManager
Date Tue, 13 Jun 2006 08:46:30 GMT
     [ http://issues.apache.org/jira/browse/HTTPCLIENT-552?page=all ]

Oleg Kalnichevski updated HTTPCLIENT-552:
-----------------------------------------

    Attachment: shcm.patch

Interface extension is not pretty but it is the only way I know of to add new methods to a
public interface without breaking the API compatibility. Anyways, let us leave it until 4.0.

Patch (take 2)

Oleg

> Add shutdown method to SimpleHttpConnectionManager
> --------------------------------------------------
>
>          Key: HTTPCLIENT-552
>          URL: http://issues.apache.org/jira/browse/HTTPCLIENT-552
>      Project: Jakarta HttpClient
>         Type: Improvement

>   Components: HttpClient
>     Versions: Nightly Builds
>  Environment: Operating System: other
> Platform: Other
>     Reporter: Sebb
>     Assignee: Oleg Kalnichevski
>     Priority: Minor
>      Fix For: 3.1 Alpha 1
>  Attachments: hcm-ext.patch, shcm.patch
>
> It would be useful to be able to close the connection in the
> SimpleHttpConnectionManager. This could be achieved by adding a shutdown()
> method as per the MultiThreadedConnectionManager.
> Ideally this would be added to the HttpConnection interface, but this could
> break existing implementations.
> To avoid this, perhaps consider introducing a sub-interface with the method in it.
> [Could also create an AbstractConnectionManager class - this would make it
> easier to add more functions later]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Mime
View raw message