users@grizzly.java.net

StandaloneProcessor

From: Dean Pehrsson-Chapman <dean_at_p14n.com>
Date: Tue, 6 Aug 2013 10:16:04 +0100

Hi,

After some fiddling about I've realised that synchronously using

connection.read()

doesn't work with a filter chain - the message is handled by the filter
chain and not reported to connection.read. Setting the processor to be a
StandaloneProcessor works fine, but that seems odd to me as now you can't
take advantage of the filterchain mechanism. Is it correct to say that
there are incompatible ways of doing sync client (or even async - a
completion handler will never be called either) and async server?

Or am I just doing it wrong?

Cheers,
Dean