I am currently looking at adding sendfile support to the APR transport. One thing I'm trying to do is abstract out knowledge about the transport from FileRegion, currently FileRegion relies on FileChannel which ties it to NIO. AbstractIoSession creates instances of DefaultFileRegion if the message written is either a FileChannel or a File. So I'm wondering if AbstractIoSession should really be creating instances of DefaultFileRegion (it's causing me some pain :-) )
-geoff
