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

Andrea Selva commented on HTTPCORE-43:
--------------------------------------

Yes i've understood, but adding a method only to pass a reference of 
FileChannel impose to rewrite part of the subclasses of 
AbstractContentDecoder/Encoder to effectively use the transfer functions. So 
you intend to modify the read functions to check if the ReadableByteChannel 
passed in isa FileChannel instance and if so, use the transferFrom to get the 
data? If this is the way you intend, i could try to do a simple poc 
implementation for the LengthDelimitedDecoder

> 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]

Reply via email to