users@jersey.java.net

caching binary stream data

From: jameskpublic <jameskpublic_at_yahoo.com>
Date: Wed, 15 Sep 2010 18:39:56 -0700 (PDT)

I have a multi-part message with many of the parts being binary data.
I will eventually flush the the binary data to a database, but I'm concerned
about the memory footprint of the request.
Do large multi-part mime parts data get cached to disk, and if so, does it
automatically get cleaned up?
If it's cached to disk, does the framework support multiple reads of the
data?
I understand that i can get a reference to an InputStream which will allow
me to read it once, but what if I want to read it twice?

Thanks

James

-- 
View this message in context: http://jersey.576304.n2.nabble.com/caching-binary-stream-data-tp5536766p5536766.html
Sent from the Jersey mailing list archive at Nabble.com.