Class WebExtensionProcessor
java.lang.Object
com.ibm.ws.webcontainer.extension.WebExtensionProcessor
- All Implemented Interfaces:
ExtensionProcessor
,RequestProcessor
- Direct Known Subclasses:
DefaultExtensionProcessor
,InvokerExtensionProcessor
,WebExtensionProcessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateConfig
(String servletName) A convenience method that creates a ServletConfig object.createConfig
(String servletName, ServletConfigParmMap cfgMap) createServletWrapper
(IServletConfig config) getName()
Returns the list of patterns (as Strings) conforming with the servlet mappings as mandated by the servlet spec.getServletWrapper
(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp) boolean
isAvailable
(String resource) boolean
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ibm.wsspi.webcontainer.RequestProcessor
handleRequest
-
Constructor Details
-
WebExtensionProcessor
-
-
Method Details
-
createServletWrapper
- Throws:
Exception
-
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 interfaceExtensionProcessor
- Returns:
- patternList
-
createConfig
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(String servletName, ServletConfigParmMap cfgMap) throws javax.servlet.ServletException - Throws:
javax.servlet.ServletException
-
isAvailable
-
getName
- Specified by:
getName
in interfaceRequestProcessor
-
isInternal
public boolean isInternal()- Specified by:
isInternal
in interfaceRequestProcessor
- Returns:
- boolean Returns true if this request processor is for internal use only
-
getMetaData
- Specified by:
getMetaData
in interfaceExtensionProcessor
-
getServletWrapper
public IServletWrapper getServletWrapper(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp) throws Exception - Specified by:
getServletWrapper
in interfaceExtensionProcessor
- Throws:
Exception
-