If I want to change the next restlet in a filter given some condition of the
request, e.e.
beforeHandle(Request req, Response res){
if(req hasSomeCondition)
setNext(someRestlet)
else
setNext(someOtherRestlet)
}
that would not work right because handle in Filter is not synchronized. What
would be the best way to do something achieve that kind of behaviour?
thanks,
martin
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2785006