You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by J2EE Professional <ja...@yahoo.co.in> on 2006/05/09 06:52:54 UTC
configuring a filter chain
i have two filters...i want that filter no. 2 should be called after filter no1 .
how do we acheive this desired effect. e.g. in Web projects we simple
configure the filter chain in web.xml and then when we say
filter.getChain.doFilter the web container calls our next filter in the filter
chain..how to get the same effect in MINA?
---------------------------------
Switch an email account to Yahoo! Mail, you could win FIFA World Cup tickets.
Re: configuring a filter chain
Posted by peter royal <pr...@apache.org>.
On May 9, 2006, at 12:52 AM, J2EE Professional wrote:
> i have two filters...i want that filter no. 2 should be called
> after filter no1 .
> how do we acheive this desired effect. e.g. in Web projects we simple
> configure the filter chain in web.xml and then when we say
> filter.getChain.doFilter the web container calls our next filter in
> the filter
> chain..how to get the same effect in MINA?
IoFilterChain.addAfter or .addLast
-pete
--
proyal@apache.org - http://fotap.org/~osi