org.apache.catalina.connector.warp
Class WarpContext

java.lang.Object
  |
  +--org.apache.catalina.core.ContainerBase
        |
        +--org.apache.catalina.core.StandardContext
              |
              +--org.apache.catalina.connector.warp.WarpContext
All Implemented Interfaces:
Container, Context, Lifecycle

public class WarpContext
extends StandardContext

Version:
CVS $Id: WarpContext.java,v 1.5 2001/01/24 23:10:44 pier Exp $
Author:
Pier Fumagalli, Copyright © 1999, 2000 The Apache Software Foundation.

Fields inherited from class org.apache.catalina.core.ContainerBase
children, cluster, debug, lifecycle, listeners, loader, logger, manager, mapper, mapperClass, mappers, name, parent, parentClassLoader, pipeline, realm, resources, sm, started, support
 
Fields inherited from interface org.apache.catalina.Container
ADD_CHILD_EVENT, ADD_MAPPER_EVENT, ADD_VALVE_EVENT, REMOVE_CHILD_EVENT, REMOVE_MAPPER_EVENT, REMOVE_VALVE_EVENT
 
Fields inherited from interface org.apache.catalina.Lifecycle
START_EVENT, STOP_EVENT
 
Constructor Summary
WarpContext()
           
 
Method Summary
protected  int getApplicationID()
          Return the Application ID associated with this WarpContext instance.
 void invoke(Request req, Response res)
          Process the specified Request, and generate the corresponding Response, according to the design of this particular Container.
protected  void setApplicationID(int id)
          Set the Application ID associated with this WarpContext instance.
 void start()
          Start this Context component.
 void stop()
          Stop this Context component.
 
Methods inherited from class org.apache.catalina.core.StandardContext
addApplicationListener, addApplicationParameter, addChild, addConstraint, addDefaultMapper, addEjb, addEnvironment, addErrorPage, addFilterDef, addFilterMap, addInstanceListener, addLocalEjb, addMimeMapping, addParameter, addResource, addResourceEnvRef, addResourceParams, addRoleMapping, addSecurityRole, addServletMapping, addTaglib, addWelcomeFile, addWrapperLifecycle, addWrapperListener, adjustURLPattern, createWrapper, engineBase, filterStart, filterStop, findApplicationListeners, findApplicationParameters, findConstraints, findEjb, findEjbs, findEnvironment, findEnvironments, findErrorPage, findErrorPage, findErrorPages, findFilterConfig, findFilterDef, findFilterDefs, findFilterMaps, findInstanceListeners, findLocalEjb, findLocalEjbs, findMimeMapping, findMimeMappings, findParameter, findParameters, findResource, findResourceEnvRef, findResourceEnvRefs, findResources, findRoleMapping, findSecurityRole, findSecurityRoles, findServletMapping, findServletMappings, findStatusPage, findStatusPages, findTaglib, findTaglibs, findWelcomeFile, findWelcomeFiles, findWrapperLifecycles, findWrapperListeners, getApplicationListeners, getAvailable, getCharsetMapper, getCharsetMapperClass, getCookies, getCrossContext, getDisplayName, getDistributable, getDocBase, getInfo, getJasperLoader, getLoginConfig, getMapperClass, getOverride, getPath, getPublicId, getReloadable, getServletContext, getSessionTimeout, getWorkDir, getWrapperClass, isFilesystemBased, isServlet22, isUseNaming, listenerStart, listenerStop, reload, removeApplicationListener, removeApplicationParameter, removeConstraint, removeEjb, removeEnvironment, removeErrorPage, removeFilterDef, removeFilterMap, removeInstanceListener, removeLocalEjb, removeMimeMapping, removeParameter, removeResource, removeResourceEnvRef, removeRoleMapping, removeSecurityRole, removeServletMapping, removeTaglib, removeWelcomeFile, removeWrapperLifecycle, removeWrapperListener, setApplicationListeners, setAvailable, setCharsetMapper, setCharsetMapperClass, setCookies, setCrossContext, setDisplayName, setDistributable, setDocBase, setLoader, setLoginConfig, setMapperClass, setOverride, setPath, setPublicId, setReloadable, setResources, setSessionTimeout, setUseNaming, setWorkDir, setWrapperClass, toString
 
Methods inherited from class org.apache.catalina.core.ContainerBase
addContainerListener, addLifecycleListener, addMapper, addPropertyChangeListener, addValve, findChild, findChildren, findMapper, findMappers, fireContainerEvent, getCluster, getDebug, getLoader, getLogger, getManager, getName, getParent, getParentClassLoader, getPipeline, getRealm, getResources, getValves, log, log, logName, map, removeChild, removeContainerListener, removeLifecycleListener, removeMapper, removePropertyChangeListener, removeValve, setCluster, setDebug, setLogger, setManager, setName, setParent, setParentClassLoader, setRealm
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.catalina.Container
addContainerListener, addMapper, addPropertyChangeListener, findChild, findChildren, findMapper, findMappers, getCluster, getLoader, getLogger, getManager, getName, getParent, getParentClassLoader, getRealm, getResources, map, removeChild, removeContainerListener, removeMapper, removePropertyChangeListener, setCluster, setLogger, setManager, setName, setParent, setParentClassLoader, setRealm
 

Constructor Detail

WarpContext

public WarpContext()
Method Detail

invoke

public void invoke(Request req,
                   Response res)
            throws javax.servlet.ServletException,
                   java.io.IOException
Description copied from class: StandardContext
Process the specified Request, and generate the corresponding Response, according to the design of this particular Container.
Overrides:
invoke in class StandardContext
Following copied from class: org.apache.catalina.core.StandardContext
Parameters:
request - Request to be processed
response - Response to be produced
Throws:
java.io.IOException - if an input/output error occurred while processing
javax.servlet.ServletException - if a ServletException was thrown while processing this request

getApplicationID

protected int getApplicationID()
Return the Application ID associated with this WarpContext instance.

setApplicationID

protected void setApplicationID(int id)
Set the Application ID associated with this WarpContext instance.

start

public void start()
           throws LifecycleException
Description copied from class: StandardContext
Start this Context component.
Overrides:
start in class StandardContext
Following copied from class: org.apache.catalina.core.StandardContext
Throws:
LifecycleException - if a startup error occurs

stop

public void stop()
          throws LifecycleException
Description copied from class: StandardContext
Stop this Context component.
Overrides:
stop in class StandardContext
Following copied from class: org.apache.catalina.core.StandardContext
Throws:
LifecycleException - if a shutdown error occurs


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.