You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by manuel aldana <al...@gmx.de> on 2009/02/16 01:11:32 UTC
[Dispatcher] unclarity of interface contract
Hi,
for Dispatcher
(http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/services/Dispatcher.html)
the contract of return value is:
---
@return true if a response was delivered, false if the dispatcher did
not handle the request (and a search for a handler should continue)
---
For understanding I am having problems with 'and a search for a handler
should continue' in case false was returned. Reading this, true means
that dispatching should be stopped and no other Dispatchers should be
called.
But how about a Dispatcher has done its work and wants to pass further
work to more dispatchers (something like dispatcher-chaining, where each
Dispatcher does something more to the Response).
--
manuel aldana
aldana@gmx.de
software-engineering blog: http://www.aldana-online.de
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org