org.apache.tapestry5.services
Interface Dispatcher
- All Known Implementing Classes:
- AssetDispatcher, ComponentEventDispatcher, PageRenderDispatcher, RootPathDispatcher
public interface Dispatcher
A dispatcher is responsible for recognizing an incoming request. Dispatchers form an ordered chain of command, with
each dispatcher responsible for recognizing requests that it can process.
- See Also:
org.apache.tapestry5.services.TapestryModule#contributeMasterDispatcher(org.apache.tapestry5.ioc.OrderedConfiguration,
ClasspathAssetAliasManager, org.apache.tapestry5.internal.services.ResourceCache,
org.apache.tapestry5.internal.services.ResourceStreamer, PageRenderRequestHandler, ComponentEventRequestHandler,
ComponentClassResolver, ContextValueEncoder, String)
|
Method Summary |
boolean |
dispatch(Request request,
Response response)
Analyzes the incoming request and performs an appropriate operation for each. |
dispatch
boolean dispatch(Request request,
Response response)
throws IOException
- Analyzes the incoming request and performs an appropriate operation for each.
- Returns:
- true if a response was delivered, false if the servlet container should be allowed to handle the request
- Throws:
IOException
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.