com.arsdigita.webdevsupport
Class Dispatcher

java.lang.Object
  extended bycom.arsdigita.dispatcher.MapDispatcher
      extended bycom.arsdigita.bebop.page.BebopMapDispatcher
          extended bycom.arsdigita.bebop.BebopMapDispatcher
              extended bycom.arsdigita.webdevsupport.Dispatcher
All Implemented Interfaces:
Dispatcher

public class Dispatcher
extends BebopMapDispatcher

Dispatcher for Web Developer Support

Version:
1.0
Author:
Joseph A. Bank (jbank@alum.mit.edu)

Nested Class Summary
 
Nested classes inherited from class com.arsdigita.dispatcher.MapDispatcher
MapDispatcher.ParseConfigHandler
 
Field Summary
static String APP_NAME
           
static String versionId
           
 
Constructor Summary
Dispatcher()
           
 
Method Summary
 void dispatch(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, RequestContext ctx)
          Looks up a target in the page map based on the remaining URL.
 
Methods inherited from class com.arsdigita.bebop.page.BebopMapDispatcher
addPage, getPresentationManager, newParseConfigHandler, setMap, setNotFoundPage, setPresentationManager
 
Methods inherited from class com.arsdigita.dispatcher.MapDispatcher
addPage, getMap, preprocessRequest, readFromFile, requireTrailingSlash, setNotFoundDispatcher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APP_NAME

public static final String APP_NAME
See Also:
Constant Field Values

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

Dispatcher

public Dispatcher()
Method Detail

dispatch

public void dispatch(javax.servlet.http.HttpServletRequest req,
                     javax.servlet.http.HttpServletResponse resp,
                     RequestContext ctx)
              throws IOException,
                     javax.servlet.ServletException
Description copied from class: MapDispatcher
Looks up a target in the page map based on the remaining URL. If that page is found, serves it. Otherwise serves a default not-found page.

Specified by:
dispatch in interface Dispatcher
Overrides:
dispatch in class MapDispatcher
Throws:
IOException
javax.servlet.ServletException


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC