users@jersey.java.net

Re: [Jersey] Multipart MessageBodyReader MessageBodyWriter

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 29 Jun 2010 15:10:21 +0200

Hi Mathew,

The jersey-multipart module provides readers and writers for use by
the client and server:

   https://jersey.dev.java.net/nonav/apidocs/latest/contribs/jersey-multipart/index.html

   https://jersey.dev.java.net/nonav/documentation/latest/user-guide.html
#d4e1636

Paul.

On Jun 29, 2010, at 1:54 PM, mathewch wrote:

>
> I have an application with Java/Spring/Jersey/Jboss. In one of the
> services,
> I want to use Multipart in the response. I want to embed a byte[]
> into the
> Multipart. How can I achieve this? I couldn't find a useful example of
> MessageBodyReader and MessageBodyWriter. Any help is highly
> appreciated.
> Thanks Mathew
> --
> View this message in context: http://jersey.576304.n2.nabble.com/Multipart-MessageBodyReader-MessageBodyWriter-tp5234675p5234675.html
> Sent from the Jersey mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>