Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Writing Jetty response to stream.

$
0
0
I can see how to set the jetty response as text - just set the body to the
text.
But what if there is a large amount of data?
Don't want to build it into an in-memory String. Want to write it to a
stream.
How can I do this? I need to get a handle on an OutputStream that I can
write to?

Thx
Tim

Viewing all articles
Browse latest Browse all 5648

Trending Articles