|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.mortbay.http.HttpContext
|
+--org.mortbay.jetty.servlet.ServletHttpContext
|
+--org.mortbay.jetty.servlet.WebApplicationContext
|
+--org.mortbay.jetty.plus.PlusWebAppContext
| Nested Class Summary |
| Nested classes inherited from class org.mortbay.http.HttpContext |
HttpContext.ResourceMetaData |
| Field Summary |
| Fields inherited from class org.mortbay.http.HttpContext |
__fileClassPathAttr |
| Constructor Summary | |
PlusWebAppContext()
Constructor. |
|
PlusWebAppContext(java.lang.String webApp)
Constructor. |
|
| Method Summary | |
void |
addEnvEntry(java.lang.String name,
java.lang.Object value)
Add a java:comp/env entry. |
java.util.Map |
getENC()
Get a mapping of java:comp/env bindings for this webapp context. |
java.lang.Object |
getEnvEntry(java.lang.String name)
|
boolean |
getWebXmlEnvEntryOverride()
|
boolean |
handle(HttpRequest request,
HttpResponse response)
Handler request. |
void |
setWebXmlEnvEntryOverride(boolean value)
|
void |
start()
Start the Web Application. |
void |
stop()
Stop the web application. |
| Methods inherited from class org.mortbay.jetty.servlet.WebApplicationContext |
addEventListener, getDefaultsDescriptor, getDeploymentDescriptor, getDisplayName, getExtractWAR, getResource, getResourceAlias, getServletHandler, getTagLibMap, getWAR, getWebApplicationHandler, handle, isIgnoreWebJetty, readExternal, removeAttribute, removeEventListener, removeResourceAlias, setAttribute, setBaseResource, setClassPath, setDefaultsDescriptor, setExtractWAR, setIgnoreWebJetty, setPermissions, setResourceAlias, setResourceBase, setWAR, toString, writeExternal |
| Methods inherited from class org.mortbay.jetty.servlet.ServletHttpContext |
addServlet, addServlet, checkSecurityConstraints, getServletContext, setDynamicServletPathSpec |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PlusWebAppContext()
java.io.IOExceptionpublic PlusWebAppContext(java.lang.String webApp)
webApp - The Web application directory or WAR file.
java.io.IOException| Method Detail |
public void setWebXmlEnvEntryOverride(boolean value)
public boolean getWebXmlEnvEntryOverride()
public void addEnvEntry(java.lang.String name,
java.lang.Object value)
public java.lang.Object getEnvEntry(java.lang.String name)
public java.util.Map getENC()
throws javax.naming.NamingException
javax.naming.NamingException
public void start()
throws java.lang.Exception
WebApplicationContext
start in interface LifeCyclestart in class WebApplicationContextjava.lang.Exception
public boolean handle(HttpRequest request,
HttpResponse response)
throws HttpException,
java.io.IOException
HttpContext
handle in class HttpContextrequest - response -
java.io.IOException
HttpException
public void stop()
throws java.lang.InterruptedException
WebApplicationContext
stop in interface LifeCyclestop in class WebApplicationContextjava.lang.InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||