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] Commented: (HTTPCORE-34) need callback on entity/stream close or EOF
Date Sun, 28 Jan 2007 20:48:49 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468152
] 

Oleg Kalnichevski commented on HTTPCORE-34:
-------------------------------------------

Have you looked at ResponseConsumedWatcher and friends?

http://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/client/impl/ResponseConsumedWatcher.java
http://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk/src/java/org/apache/http/client/impl/AutoCloseInputStream.java

Won't this cut it? If not, can we at least keep it out of the HttpCore? 

Oleg

> need callback on entity/stream close or EOF
> -------------------------------------------
>
>                 Key: HTTPCORE-34
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-34
>             Project: HttpComponents Core
>          Issue Type: New Feature
>          Components: HttpCore
>    Affects Versions: 4.0-alpha3
>            Reporter: Roland Weber
>         Assigned To: Roland Weber
>
> For connection management, a callback is needed that indicates when an incoming entity
(stream) is closed or has been read to the end.
> These events indicate that the connection can be (auto-) released.
> A candidate for implementing this callback are the various InputStream classes in org.apache.http.io.
> We probably should have a common base interface with methods for registering a callback
handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message