[
https://issues.apache.org/jira/browse/HTTPCORE-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roland Weber closed HTTPCORE-34.
--------------------------------
Resolution: Won't Fix
Hi Oleg,
I had noticed the interface but missed the class. And that although I changed
it's package name :-) I have to check my JavaDoc options, default visibility is
currently not included.
I'd prefer to be a bit more proactive and detect the end of the stream when
it's reached rather than on the following read, but the difference is probably
not worth the trouble. AutoCloseInputStream is good enough to proceed.
thanks,
Roland
> 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]