users@jersey.java.net

Returning an InputStream from a _at_GET method?

From: Gabor Szokoli <szocske_at_gmail.com>
Date: Fri, 29 Feb 2008 10:55:33 +0100

Hi there,

One of my resources is produced in XML format by an external application.
I can of course extract the String from the InputStream and return
that from my @GET method, just seems wasteful.

I was wondering how common this situation could be, may be worth optimising?


Gabor Szokoli