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