You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2010/11/18 08:58:13 UTC

[jira] Commented: (IMAP-230) Remove usage of RewindableInputStream

    [ https://issues.apache.org/jira/browse/IMAP-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933342#action_12933342 ] 

Stefano Bagnara commented on IMAP-230:
--------------------------------------

A RewindableInputStream can be consumed multiple times. If you need to share the stream then you need it to be al least rewindable. Bettwe way would be the SharedInputStream (the logic is always having multiple "not aligned" consumers of the same stream). Don't know if this is still needed or not.

> Remove usage of RewindableInputStream
> -------------------------------------
>
>                 Key: IMAP-230
>                 URL: https://issues.apache.org/jira/browse/IMAP-230
>             Project: JAMES Imap
>          Issue Type: Task
>    Affects Versions: 0.1, 0.2-M1
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.2
>
>
> When accessing the Message content we use a custom InputStream called RewindableInputStream. I don't know why I thought this makes much sense in the past... We should just use a normal InputStream 

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