users@jersey.java.net

Not chunked

From: Alan Harder <alan.harder_at_sun.com>
Date: Fri, 24 Apr 2009 11:23:59 -0700
Hi-
I'm using JMXRestAdaptor with Jersey 1.0.3 and Java 6u13 HttpServer.  I find that I  get responses with "Transfer-encoding: chunked".  How can I tell it the size of the response so it will use Content-Length instead?

JMXRestAdaptor source:
https://opendmk.dev.java.net/source/browse/opendmk/contributions/rest-adaptor/RestAdaptor/src/com/sun/jdmk/contrib/rest/JMXMBeanRestResource.java?rev=1.4&view=markup

Thanks,

    - Alan