Hi Gagan,
yes, you're absolutely right, you need to use NIOInputStream, rather than
Reader.
Actually multipart content sounds like a great contribution to Grizzly, so
we'd really like to help you with that.
The steps you're doing look right, though I'm not sure we have to convert
byte[] -> String and vise versa, IMO it's not very optimal, it's probably
better to look for boundary string directly in the byte[] or Grizzly Buffer.
If it's possible can you pls. share the code and we can try to help you make
it better and more optimal. And it would be great if then you will be able
to contribute the code back to Grizzly, so other users may use it :)
Thanks.
WBR,
Alexey.
--
View this message in context: http://grizzly.1045725.n5.nabble.com/Grizzly-fileupload-tp3732246p3774024.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.