On Mon, May 7, 2012 at 3:19 PM, <mbrown_at_hayneedle.com> wrote:
> What is the generally accepted method for setting the content-length
> when using Jersey and JAXB?
>
> Seems like this should be simple but so far it has not been.
I thought it was handled automatically, iff MessageBodyWriter is able
to provide length estimate.
If not, you can build Response, add header manually, along with entity
to return, status code.
-+ Tatu +-