users@jersey.java.net
Re: [Jersey] Streaming Output
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Paul Sandoz <
Paul.Sandoz_at_oracle.com
>
Date
: Thu, 29 Jul 2010 14:42:53 +0200
On Jul 28, 2010, at 3:22 PM, Herak Sen wrote:
> Hi All,
>
> What is the best way to stream output using Jersey?
> e.g. A resource generating multiple media type such as pdf, xls etc.
>
You can use an instance of StreamingOutput [1] for the entity, which
may be easier than developing your own MessageBodyWriter.
Paul.
[1]
https://jsr311.dev.java.net/nonav/releases/1.1/javax/ws/rs/core/StreamingOutput.html
This message
: [
Message body
]
Next message
:
Paul Sandoz: "Re: [Jersey] Forward to Servlet"
Previous message
:
Franz Wong: "Forward to Servlet"
In reply to
:
Herak Sen: "Streaming Output"
Next in thread
:
Tatu Saloranta: "Re: [Jersey] Streaming Output"
Reply
:
Tatu Saloranta: "Re: [Jersey] Streaming Output"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]