Class WebExtensionProcessor
- java.lang.Object
- 
- com.ibm.ws.webcontainer.extension.WebExtensionProcessor
 
- 
- All Implemented Interfaces:
- ExtensionProcessor,- RequestProcessor
 - Direct Known Subclasses:
- DefaultExtensionProcessor,- InvokerExtensionProcessor,- WebExtensionProcessor
 
 public abstract class WebExtensionProcessor extends java.lang.Object implements ExtensionProcessor 
- 
- 
Constructor SummaryConstructors Constructor Description WebExtensionProcessor(IServletContext webApp)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IServletConfigcreateConfig(java.lang.String servletName)A convenience method that creates a ServletConfig object.IServletConfigcreateConfig(java.lang.String servletName, ServletConfigParmMap cfgMap)IServletWrappercreateServletWrapper(IServletConfig config)WebComponentMetaDatagetMetaData()java.lang.StringgetName()java.util.ListgetPatternList()Returns the list of patterns (as Strings) conforming with the servlet mappings as mandated by the servlet spec.IServletWrappergetServletWrapper(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp)booleanisAvailable(java.lang.String resource)booleanisInternal()- 
Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.ibm.wsspi.webcontainer.RequestProcessorhandleRequest
 
- 
 
- 
- 
- 
Constructor Detail- 
WebExtensionProcessorpublic WebExtensionProcessor(IServletContext webApp) 
 
- 
 - 
Method Detail- 
createServletWrapperpublic IServletWrapper createServletWrapper(IServletConfig config) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
getPatternListpublic 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:
- getPatternListin interface- ExtensionProcessor
- Returns:
- patternList
 
 - 
createConfigpublic 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
 
 - 
createConfigpublic IServletConfig createConfig(java.lang.String servletName, ServletConfigParmMap cfgMap) throws javax.servlet.ServletException - Throws:
- javax.servlet.ServletException
 
 - 
isAvailablepublic boolean isAvailable(java.lang.String resource) 
 - 
getNamepublic java.lang.String getName() - Specified by:
- getNamein interface- RequestProcessor
 
 - 
isInternalpublic boolean isInternal() - Specified by:
- isInternalin interface- RequestProcessor
- Returns:
- boolean Returns true if this request processor is for internal use only
 
 - 
getMetaDatapublic WebComponentMetaData getMetaData() - Specified by:
- getMetaDatain interface- ExtensionProcessor
 
 - 
getServletWrapperpublic IServletWrapper getServletWrapper(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp) throws java.lang.Exception - Specified by:
- getServletWrapperin interface- ExtensionProcessor
- Throws:
- java.lang.Exception
 
 
- 
 
-