com.ibm.websphere.servlet.container

Class WebContainer

  • java.lang.Object
    • com.ibm.websphere.servlet.container.WebContainer


  • public abstract class WebContainer
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  WebContainer.Feature 
    • Constructor Summary

      Constructors 
      Constructor and Description
      WebContainer() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static void addGlobalListener(java.lang.String className) 
      static WebContainer getWebContainer() 
      abstract void handleRequest(com.ibm.websphere.servlet.request.IRequest req, com.ibm.websphere.servlet.response.IResponse res) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebContainer

        public WebContainer()
    • Method Detail

      • getWebContainer

        public static WebContainer 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 java.lang.Exception
        Parameters:
        req -
        res -
        Throws:
        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.
      • addGlobalListener

        public static void addGlobalListener(java.lang.String className)
        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.