Class InvokerExtensionProcessor
java.lang.Object
com.ibm.ws.webcontainer.extension.WebExtensionProcessor
com.ibm.ws.webcontainer.extension.InvokerExtensionProcessor
- All Implemented Interfaces:
ExtensionProcessor
,RequestProcessor
-
Constructor Summary
ConstructorDescriptionInvokerExtensionProcessor
(com.ibm.ws.webcontainer.webapp.WebApp webApp, HashMap params) -
Method Summary
Modifier and TypeMethodDescriptionReturns 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) getServletWrapper
(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, boolean handleFailure) void
handleRequest
(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) This method will only get invoked if (1) This is the first request to the target servlet to be served by classname/name (2) The request is an include/forward and matched /servlet/*Methods inherited from class com.ibm.ws.webcontainer.extension.WebExtensionProcessor
createConfig, createConfig, createServletWrapper, getName, isAvailable, isInternal
-
Constructor Details
-
InvokerExtensionProcessor
- Parameters:
webApp
-
-
-
Method Details
-
handleRequest
public void handleRequest(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) throws Exception This method will only get invoked if (1) This is the first request to the target servlet to be served by classname/name (2) The request is an include/forward and matched /servlet/*- Throws:
Exception
-
getServletWrapper
public IServletWrapper getServletWrapper(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp, boolean handleFailure) throws Exception - Throws:
Exception
-
getPatternList
Description copied from class:WebExtensionProcessor
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
- Overrides:
getPatternList
in classWebExtensionProcessor
- Returns:
- patternList
-
getMetaData
- Specified by:
getMetaData
in interfaceExtensionProcessor
- Overrides:
getMetaData
in classWebExtensionProcessor
-
getServletWrapper
public IServletWrapper getServletWrapper(javax.servlet.ServletRequest req, javax.servlet.ServletResponse resp) throws Exception - Specified by:
getServletWrapper
in interfaceExtensionProcessor
- Overrides:
getServletWrapper
in classWebExtensionProcessor
- Throws:
Exception
-