users@jersey.java.net

Re: [Jersey] XSL transform annotation and message body reader/writer

From: Tatu Saloranta <tsaloranta_at_gmail.com>
Date: Thu, 26 Nov 2009 16:16:40 -0800

On Tue, Nov 24, 2009 at 5:15 AM, Robert Koberg <rob_at_koberg.com> wrote:
> Hi,
>
...
> I think that the message body writer would be the most useful as it can output pretty much anything. The main problem being is that it would not be as fast as directly streaming the result.

How so? Message body readers and writers operate on streams, so this
should not be a problem?
But they do operate on lower level of abstraction so it would be more
work to plug those in.

For output you can also use StreamingOutput, which allows for some
post processing.

-+ Tatu +-