users@jersey.java.net

[Jersey] What are the differences between ChunkedOutput and StreamingOutput?

From: Chun Tat David Chu <beyonddc.storage_at_gmail.com>
Date: Tue, 15 Oct 2013 00:36:09 -0400

Hi All,

What are the differences between ChunkedOutput and StreamingOutput.

It appears to me that ChunkedOutput is Jersey specific while
StreamingOutput is part of JAX-RS API.

I tried both mechanism to stream JSON objects using chunked encoding.

Aside the usage of ChunkedOutput and StreamingOutput is a bit different but
other than that it felt like both of them is very similar.

Thoughts?

Thanks!

David