eg.
public class MyFilter {
@Override
public NextAction handleWrite(final FilterChainContext ctx) throws
IOException {
if (some biz logic) {
do something normally.
} else {
// I want to dispatch to handleRead method and stop
NextAction, not throw exception.
}
}
@Override
public NextAction handleRead(FilterChainContext ctx) throws IOException
{
//accept response.
}
}
-----
Best Regards,
Young
--
View this message in context: http://grizzly.1045725.n5.nabble.com/Filter-flow-question-tp4622125p4629191.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.