james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <server-...@james.apache.org>
Subject [jira] Created: (IMAP-128) Change Document interface to expose contents as InputStream
Date Wed, 07 Apr 2010 10:57:33 GMT
Change Document interface to expose contents as InputStream
-----------------------------------------------------------

                 Key: IMAP-128
                 URL: https://issues.apache.org/jira/browse/IMAP-128
             Project: JAMES Imap
          Issue Type: Improvement
          Components: Mailbox
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 0.1


At the moment the Content of a Document implementation (which is for example the Message)
is exposed via a ByteBuffer. Unforunally to offer the ByteBuffer the whole Content is read
to the Memory first. This is super inefficient when having big data. It would be preferable
to be able to directly stream the content.

-- 
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message