public abstract class WebContainer
extends java.lang.Object
Constructor and Description |
---|
WebContainer() |
Modifier and Type | Method and Description |
---|---|
static void |
addGlobalListener(java.lang.String className) |
static WebContainer |
getWebContainer() |
abstract void |
handleRequest(IRequest req,
IResponse res) |
public static WebContainer getWebContainer()
public abstract void handleRequest(IRequest req, IResponse res) throws java.lang.Exception
req
- res
- java.lang.Exception
- Call this method to force the webcontainer to handle the request. The request
should have enough information in it for the webcontainer to handle the request.public static void addGlobalListener(java.lang.String className)
classname
- Adds a global servlet listener with the specified classname.
The class must be on the classpath of all web applications. For example,
the /lib directory at the root of the application server.