com.ibm.ws.webcontainer.extension

Class WebExtensionProcessor

  • java.lang.Object
    • com.ibm.ws.webcontainer.extension.WebExtensionProcessor
    • Constructor Detail

      • WebExtensionProcessor

        public WebExtensionProcessor(IServletContext webApp)
    • Method Detail

      • createServletWrapper

        public IServletWrapper createServletWrapper(IServletConfig config)
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getPatternList

        public java.util.List getPatternList()
        Returns the list of patterns (as Strings) conforming with the servlet mappings as mandated by the servlet spec. The subclasses of this class may override this method in case they want to supply patterns they want to be associated with.
        Specified by:
        getPatternList in interface ExtensionProcessor
        Returns:
        patternList
      • createConfig

        public IServletConfig createConfig(java.lang.String servletName)
                                    throws javax.servlet.ServletException
        A convenience method that creates a ServletConfig object. This also populates the necessary metaData which enables the Servlet associated with the returned config to correctly lookup NameSpace entries. It is highly recommended that extension processors use this method to create the config objects for the targets that the processor creates.
        Parameters:
        servletName -
        Returns:
        Throws:
        javax.servlet.ServletException
      • createConfig

        public IServletConfig createConfig(java.lang.String servletName,
                                           ServletConfigParmMap cfgMap)
                                    throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • isAvailable

        public boolean isAvailable(java.lang.String resource)
      • isInternal

        public boolean isInternal()
        Specified by:
        isInternal in interface RequestProcessor
        Returns:
        boolean Returns true if this request processor is for internal use only
      • getServletWrapper

        public IServletWrapper getServletWrapper(javax.servlet.ServletRequest req,
                                                 javax.servlet.ServletResponse resp)
                                          throws java.lang.Exception
        Specified by:
        getServletWrapper in interface ExtensionProcessor
        Throws:
        java.lang.Exception