org.apache.tapestry.internal.services
Class PageRenderDispatcher

java.lang.Object
  extended by org.apache.tapestry.internal.services.PageRenderDispatcher
All Implemented Interfaces:
Dispatcher

public class PageRenderDispatcher
extends Object
implements Dispatcher

Dispatches incoming requests for render requests. Render requests consist of either just a logical page name (case insensitive) or a logical page name plus additional context. Because of this structure, it take a little bit of work to identify the split point between the page name and the context.


Constructor Summary
PageRenderDispatcher(ComponentClassResolver componentClassResolver, PageRenderRequestHandler handler, ContextValueEncoder contextValueEncoder)
           
 
Method Summary
 boolean dispatch(Request request, Response response)
          Analyzes the incoming request and performs an appropriate operation for each.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageRenderDispatcher

public PageRenderDispatcher(ComponentClassResolver componentClassResolver,
                            PageRenderRequestHandler handler,
                            ContextValueEncoder contextValueEncoder)
Method Detail

dispatch

public boolean dispatch(Request request,
                        Response response)
                 throws IOException
Description copied from interface: Dispatcher
Analyzes the incoming request and performs an appropriate operation for each.

Specified by:
dispatch in interface Dispatcher
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.