[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to