[
https://issues.apache.org/jira/browse/HTTPCORE-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487890
]
Oleg Kalnichevski commented on HTTPCORE-43:
-------------------------------------------
Andrea,
I think this functionality will have plugged in at a lower level. My plan was
to add method that take FileChannel as an input parameter to the ContentDecoder
and ContentEncoder interfaces:
http://jakarta.apache.org/httpcomponents/httpcore/jakarta-httpcore-nio/xref/org/apache/http/nio/ContentDecoder.html
http://jakarta.apache.org/httpcomponents/httpcore/jakarta-httpcore-nio/xref/org/apache/http/nio/ContentEncoder.html
Content codecs always keep a reference to the underlying I/O session and
therefore are able to interact directly with the channel associated with that
session.
Hope this helps
Oleg
> Implement support for FileChannel#transferFrom and FileChannel#transferTo
> -------------------------------------------------------------------------
>
> Key: HTTPCORE-43
> URL: https://issues.apache.org/jira/browse/HTTPCORE-43
> Project: HttpComponents Core
> Issue Type: Improvement
> Components: HttpCore
> Reporter: Oleg Kalnichevski
> Fix For: 4.0-alpha5
>
>
> Implement optional support for FileChannel#transferFrom and
> FileChannel#transferTo operations. Direct coping from and to FileChannel is
> believed to result in a significant performance improvement for file bound
> operations
--
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]