|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.catalina.core.ContainerBase | +--org.apache.catalina.core.StandardHost | +--org.apache.catalina.connector.warp.WarpHost
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.Deployer |
INSTALL_EVENT, REMOVE_EVENT |
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.Host |
ADD_ALIAS_EVENT, REMOVE_ALIAS_EVENT |
Fields inherited from interface org.apache.catalina.Lifecycle |
START_EVENT, STOP_EVENT |
Constructor Summary | |
WarpHost()
Create a new instance of a WarpHost. |
Method Summary | |
void |
addChild(Container container)
Add a new context to this host. |
protected int |
getHostID()
Return the Host ID associated with this WarpHost instance. |
void |
invoke(Request req,
Response res)
Process the specified Request, and generate the corresponding Response, according to the design of this particular Container. |
Container |
map(Request request,
boolean update)
Return the child Container that should be used to process this Request, based upon its characteristics. |
protected void |
setHostID(int id)
Set the Host ID associated with this WarpHost instance. |
Methods inherited from class org.apache.catalina.core.StandardHost |
addAlias, addDefaultContext, addDefaultMapper, expand, expand, findAliases, findDeployedApp, findDeployedApps, getAppBase, getConfigClass, getContextClass, getInfo, getMapperClass, getName, importDefaultContext, install, isUnpackWARs, map, remove, remove, removeAlias, setAppBase, setConfigClass, setContextClass, setMapperClass, setName, setUnpackWARs, start, stop, 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, getParent, getParentClassLoader, getPipeline, getRealm, getResources, getValves, log, log, logName, removeChild, removeContainerListener, removeLifecycleListener, removeMapper, removePropertyChangeListener, removeValve, setCluster, setDebug, setLoader, setLogger, setManager, setParent, setParentClassLoader, setRealm, setResources, start, stop |
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, getParent, getParentClassLoader, getRealm, getResources, removeChild, removeContainerListener, removeMapper, removePropertyChangeListener, setCluster, setLoader, setLogger, setManager, setParent, setParentClassLoader, setRealm, setResources |
Constructor Detail |
public WarpHost()
Method Detail |
public void invoke(Request req, Response res) throws javax.servlet.ServletException, java.io.IOException
Container
invoke
in class ContainerBase
org.apache.catalina.Container
request
- Request to be processedresponse
- Response to be producedjava.io.IOException
- if an input/output error occurred while
processingjavax.servlet.ServletException
- if a ServletException was thrown
while processing this requestpublic Container map(Request request, boolean update)
Container
null
instead.map
in class ContainerBase
org.apache.catalina.Container
request
- Request being processedupdate
- Update the Request to reflect the mapping selection?public void addChild(Container container)
addChild
in class StandardHost
org.apache.catalina.core.StandardHost
child
- Child container to be addedprotected int getHostID()
protected void setHostID(int id)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |