users@grizzly.java.net

Re: Processing of the Content

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 05 Feb 2009 20:47:37 -0500

Salut,

Daniel Manzke wrote:
> Hi,
>
> I'm working on WebDAV-Support for JAX-RS.

Yes I'm following you on the jersey list :-)

  Therefore we use grizzly as
> the server for our samples and applications. Due there are heavy
> interoperability issues with WebDAV (Microsoft Clients and so on), I'm
> testing some ideas, which could be done, by postprocessing of the
> returned elements.
> In the end this will be done by a servlet filter, but until there I try
> to solve it with an Adapter-Class.
>
> How could I get the xml which was created by jersey?

What do you means by XML? Do you means the XML that was written by
Jersey to the response before it is sent to the client?


Where do I find it
> in the Response? Any Idea? Or I'm totally on the wrong way. :)

OK if I understand you correctly, you want to get a reference to the
already written bytes (but not sent to the client). Right now we don't
expose an API for getting those bytes, but I'm OK to expose it if I
understand you properly. Can you elaborate more?

Thanks

-- Jeanfrancois


>
>
>
> Best Regards and Thanks,
> Daniel