cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <>
Subject Re: jax-rs byte stream result
Date Fri, 16 Oct 2009 21:07:22 GMT

Hi Benson

You might want to return a StreamingOutput and have @Produces("CSV type").
Or return it as a multipart/mixed, and have @Multipart annotation on the
method level which will specify the type for the root type

cheers, Sergey

bimargulies wrote:
> This may win some sort of a prize for a simple question.
> I want to define a JAX-RS function where the function provides, as a
> response, the entire content of the response plus the content type. I
> might,
> for example, be returning an entire CSV spreadsheet.

View this message in context:
Sent from the cxf-user mailing list archive at

View raw message