users@jersey.java.net

return type of file download ??

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Mon, 7 Sep 2009 19:41:23 +0200

I am coding a method to transfer a file contents between the service
and the client.. what is the method return type ? OutputStream ?
byte[] ? Jersey has support for stax ?

        @GET
        @Path("{acronym}/file")
        @Produces("what??")
        public byte[] downloadAttachment() {
                // something here
        }