users@grizzly.java.net

Re: How to disable chunked encoding?

From: Andrea Gualano <andrea.gualano_at_imavis.com>
Date: Mon, 17 May 2010 18:49:15 +0200

Oleksiy Stashok wrote:
> Hi Andrea,
>
> for entire WS you can call:
> gws.getSelectorThread().setUseChunking(false);

Exactly what I needed, thanks a lot!

> For the concrete Request - I think it's not possible. But we can think
> about adding this feature, if there is strong requirement.

Well, it would be more for a single adapter than for a single request,
for cases where you would use one adapter for some kind of low-tech
streaming and other adapters for servlets and the like.

Anyway, I can't think of a concrete use case where you would need both
chunked and non-chunked responses on a same web server.

> WBR,
> Alexey.

Thank you,
Andrea


-- 
Andrea Gualano
ImaVis S.r.l.
email: andrea.gualano_at_imavis.com