Would creating a special 'message-data' object to send down the line for 'flush' make sense? It would seem that this could also carry-over to other filters that might either hold-back data or chunk data different than a given protocol expects (ex: SSL, compression, etc). Being that the BufferedWriteFilter is 'final' a wrapper-class could be written to accept a flush request and just directly filter into the BufferedWriteFilter.
... in the future, this wrapper-class could work as a more official decorator for Filters that are Flushable.
Any thoughts/ideas?
smime.p7s
Description: S/MIME cryptographic signature
