peter royal wrote:
On Jun 20, 2007, at 9:28 AM, Germán Borbolla Flores wrote:
If there isn't any, I was thinking about changing IoFilter and add
to each method a previousFilter so I could just invoke
previousFilter.filterWrite. Is this possible? Should I work on it
and send a patch or commit the change?
I believe if you call NextFilter.filterWrite in your IoFilter, it
will do what you want.
-pete
Thanks for the quick response
As far as I understand in messageReceived nextFilter points to the
filter "up" in the chain so if I set the following filter chain:
acceptorConfig.getFilterChain().addLast("cipher", new
CipherFilter());
acceptorConfig.getFilterChain().addLast("codec", new
InsysProtocolCodecFilter(new StringCodecFactory()));
while executing messageReceived of filter "cipher" nextFilter will point
to "codec"?
will I still need to set the session attribute, so that filter ignores
the request an just delegates the request to nextFilter?