com.dyuproject.web.rest
Class DefaultDispatcher

java.lang.Object
  extended by com.dyuproject.web.rest.AbstractLifeCycle
      extended by com.dyuproject.web.rest.DefaultDispatcher
All Implemented Interfaces:
LifeCycle, ViewDispatcher

public final class DefaultDispatcher
extends AbstractLifeCycle
implements ViewDispatcher

Dispatches to the container's default servlet

Author:
David Yu
Date created:
May 16, 2008

Constructor Summary
DefaultDispatcher()
           
 
Method Summary
 void dispatch(String uri, HttpServletRequest request, HttpServletResponse response)
           
protected  void init()
           
 
Methods inherited from class com.dyuproject.web.rest.AbstractLifeCycle
destroy, destroy, getWebContext, init, isDestroyed, isInitialized, newObjectInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.dyuproject.web.rest.LifeCycle
destroy, init
 

Constructor Detail

DefaultDispatcher

public DefaultDispatcher()
Method Detail

init

protected void init()
Specified by:
init in class AbstractLifeCycle

dispatch

public void dispatch(String uri,
                     HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     IOException
Specified by:
dispatch in interface ViewDispatcher
Throws:
ServletException
IOException


Copyright © 2008-2013. All Rights Reserved.