users@jersey.java.net

[Jersey] MessageBodyReader for multipart entity

From: DaHoopster <hwang_at_myvest.com>
Date: Thu, 5 May 2011 12:28:01 -0700 (PDT)

Hi,

I am trying to write a custom messagebodyreader for processing multipart
payload posted to a resource. I need to extract the first part of the body
part which will be XML, perform decryption and XSD validation and pass it
onto the resource.

In the MessageBodyReader interface I have the raw InputStream to play with.
How do I go from InputStream to FormDataMultiPart?

Thanks,
Han

--
View this message in context: http://jersey.576304.n2.nabble.com/MessageBodyReader-for-multipart-entity-tp6335376p6335376.html
Sent from the Jersey mailing list archive at Nabble.com.