users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Request content length

From: Jan Algermissen <jan.algermissen_at_nordsc.com>
Date: Mon, 12 Nov 2012 22:24:12 +0100

Guys,

wonder if we have an issue with content length and intercetors on the reader side, too.

Can you enlighten me:

Does the unterlying connector use the content length header in order to determine the number of bytes to read from the connection?

Or does the JAX-RS runtime do that? .. In which case a readerInterceptor could pretty nicely screw up the request body reading.

Likely I am just confused , but still ...

Jan