Class WebContainer
java.lang.Object
com.ibm.websphere.servlet.container.WebContainer
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addGlobalListener
(String className) static WebContainer
abstract void
handleRequest
(com.ibm.websphere.servlet.request.IRequest req, com.ibm.websphere.servlet.response.IResponse res)
-
Constructor Details
-
WebContainer
public WebContainer()
-
-
Method Details
-
getWebContainer
- Returns:
- The instance of the WebContainer Call this method to get at an instance of the WebContainer
-
handleRequest
public abstract void handleRequest(com.ibm.websphere.servlet.request.IRequest req, com.ibm.websphere.servlet.response.IResponse res) throws Exception - Parameters:
req
-res
-- Throws:
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.
-
addGlobalListener
- Parameters:
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.
-