|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mortbay.http.ResourceCache
org.mortbay.http.HttpContext
org.mortbay.jetty.servlet.ServletHttpContext
org.mortbay.jetty.servlet.WebApplicationContext
org.mortbay.jetty.plus.PlusWebAppContext
| Nested Class Summary | |
static class |
PlusWebAppContext.Configuration
|
| Nested classes inherited from class org.mortbay.http.ResourceCache |
ResourceCache.ResourceMetaData |
| Field Summary |
| Fields inherited from class org.mortbay.http.HttpContext |
__ErrorHandler, __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()
|
void |
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.ServletHttpContext |
addLocaleEncoding, addServlet, addServlet, checkSecurityConstraints, getLocaleEncoding, getServletContext, sendError |
| Methods inherited from class org.mortbay.http.ResourceCache |
getBaseResource, getEncodingByMimeType, getEncodingMap, getMaxCachedFileSize, getMaxCacheSize, getMimeByExtension, getMimeMap, getResourceBase, getResourceMetaData, setBaseResource, setEncodingMap, setMaxCachedFileSize, setMaxCacheSize, setMimeMap, setMimeMapping, setResourceBase, setTypeEncoding |
| 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 void handle(HttpRequest request,
HttpResponse response)
throws HttpException,
java.io.IOException
HttpContext
handle in class HttpContextrequest - response -
HttpException
java.io.IOException
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 | |||||||||