org.apache.geronimo.jetty6.handler
Class TwistyWebAppContext

java.lang.Object
  extended by org.mortbay.component.AbstractLifeCycle
      extended by org.mortbay.jetty.handler.AbstractHandler
          extended by org.mortbay.jetty.handler.AbstractHandlerContainer
              extended by org.mortbay.jetty.handler.HandlerWrapper
                  extended by org.mortbay.jetty.handler.ContextHandler
                      extended by org.mortbay.jetty.servlet.Context
                          extended by org.mortbay.jetty.webapp.WebAppContext
                              extended by org.apache.geronimo.jetty6.handler.TwistyWebAppContext
All Implemented Interfaces:
org.mortbay.component.LifeCycle, org.mortbay.jetty.Handler, org.mortbay.jetty.HandlerContainer, org.mortbay.util.Attributes

public class TwistyWebAppContext
extends org.mortbay.jetty.webapp.WebAppContext


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mortbay.jetty.servlet.Context
org.mortbay.jetty.servlet.Context.SContext
 
Field Summary
 
Fields inherited from class org.mortbay.jetty.webapp.WebAppContext
ERROR_PAGE, WEB_DEFAULTS_XML
 
Fields inherited from class org.mortbay.jetty.servlet.Context
_securityHandler, _servletHandler, _sessionHandler, NO_SECURITY, NO_SESSIONS, SECURITY, SESSIONS
 
Fields inherited from class org.mortbay.jetty.handler.ContextHandler
_scontext
 
Fields inherited from class org.mortbay.jetty.handler.AbstractHandler
_string
 
Fields inherited from interface org.mortbay.jetty.Handler
ALL, DEFAULT, ERROR, FORWARD, INCLUDE, REQUEST
 
Constructor Summary
TwistyWebAppContext(org.mortbay.jetty.security.SecurityHandler securityHandler, org.mortbay.jetty.servlet.SessionHandler sessionHandler, org.mortbay.jetty.servlet.ServletHandler servletHandler, org.mortbay.jetty.handler.ErrorHandler errorHandler)
           
 
Method Summary
 void handle(String target, HttpServletRequest request, HttpServletResponse response, int dispatch)
           
 org.mortbay.jetty.Handler newTwistyHandler()
           
abstract  void setShutdown(boolean arg0)
           
 void setTwistyHandler(org.mortbay.jetty.Handler handler)
           
 
Methods inherited from class org.mortbay.jetty.webapp.WebAppContext
addEventListener, addWebApplications, addWebApplications, addWebApplications, addWebApplications, doStart, doStop, dumpUrl, getConfigurationClasses, getConfigurations, getCurrentWebAppContext, getDefaultsDescriptor, getDescriptor, getExtraClasspath, getOverrideDescriptor, getPermissions, getResource, getResourceAlias, getResourceAliases, getServerClasses, getSystemClasses, getTempDirectory, getWar, getWebInf, isCopyWebDir, isDistributable, isExtractWAR, isLogUrlOnStart, isParentLoaderPriority, isProtectedTarget, isTempWorkDirectory, loadConfigurations, removeResourceAlias, resolveWebApp, setClassLoader, setConfigurationClasses, setConfigurations, setCopyWebDir, setDefaultsDescriptor, setDescriptor, setDistributable, setEventListeners, setExtraClasspath, setExtractWAR, setLogUrlOnStart, setOverrideDescriptor, setParentLoaderPriority, setPermissions, setResourceAlias, setResourceAliases, setServerClasses, setSystemClasses, setTempDirectory, setWar, startContext, toString
 
Methods inherited from class org.mortbay.jetty.servlet.Context
addFilter, addFilter, addFilter, addServlet, addServlet, addServlet, getSecurityHandler, getServletHandler, getSessionHandler, setSecurityHandler, setServletHandler, setSessionHandler
 
Methods inherited from class org.mortbay.jetty.handler.ContextHandler
addLocaleEncoding, clearAttributes, getAllowNullPathInfo, getAttribute, getAttributeNames, getAttributes, getBaseResource, getClassLoader, getClassPath, getConnectorNames, getContextPath, getCurrentContext, getDisplayName, getErrorHandler, getEventListeners, getHosts, getInitParameter, getInitParameterNames, getInitParams, getLocaleEncoding, getMaxFormContentSize, getMimeTypes, getResourceBase, getResourcePaths, getServletContext, getVirtualHosts, getWelcomeFiles, isCompactPath, isShutdown, loadClass, removeAttribute, setAllowNullPathInfo, setAttribute, setAttributes, setBaseResource, setCompactPath, setConnectorNames, setContextPath, setDisplayName, setErrorHandler, setHosts, setInitParams, setMaxFormContentSize, setMimeTypes, setResourceBase, setServer, setShutdown, setVirtualHosts, setWelcomeFiles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from class org.mortbay.jetty.handler.HandlerWrapper
addHandler, expandChildren, getHandler, setHandler
 
Methods inherited from class org.mortbay.jetty.handler.AbstractHandlerContainer
expandHandler, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass
 
Methods inherited from class org.mortbay.jetty.handler.AbstractHandler
destroy, getServer
 
Methods inherited from class org.mortbay.component.AbstractLifeCycle
isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stop
 
Methods inherited from interface org.mortbay.component.LifeCycle
isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stop
 

Constructor Detail

TwistyWebAppContext

public TwistyWebAppContext(org.mortbay.jetty.security.SecurityHandler securityHandler,
                           org.mortbay.jetty.servlet.SessionHandler sessionHandler,
                           org.mortbay.jetty.servlet.ServletHandler servletHandler,
                           org.mortbay.jetty.handler.ErrorHandler errorHandler)
Method Detail

setTwistyHandler

public void setTwistyHandler(org.mortbay.jetty.Handler handler)

newTwistyHandler

public org.mortbay.jetty.Handler newTwistyHandler()

handle

public void handle(String target,
                   HttpServletRequest request,
                   HttpServletResponse response,
                   int dispatch)
            throws IOException,
                   ServletException
Specified by:
handle in interface org.mortbay.jetty.Handler
Overrides:
handle in class org.mortbay.jetty.webapp.WebAppContext
Throws:
IOException
ServletException

setShutdown

public abstract void setShutdown(boolean arg0)


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.