Class InvokerExtensionProcessor
java.lang.Object
com.ibm.ws.webcontainer.extension.WebExtensionProcessor
com.ibm.ws.webcontainer.extension.InvokerExtensionProcessor
- All Implemented Interfaces:
ExtensionProcessor,RequestProcessor
-
Constructor Summary
ConstructorsConstructorDescriptionInvokerExtensionProcessor(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(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse resp) getServletWrapper(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse resp, boolean handleFailure) voidhandleRequest(jakarta.servlet.ServletRequest req, jakarta.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(jakarta.servlet.ServletRequest req, jakarta.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(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse resp, boolean handleFailure) throws Exception - Throws:
Exception
-
getPatternList
Description copied from class:WebExtensionProcessorReturns 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 interfaceExtensionProcessor- Overrides:
getPatternListin classWebExtensionProcessor- Returns:
- patternList
-
getMetaData
- Specified by:
getMetaDatain interfaceExtensionProcessor- Overrides:
getMetaDatain classWebExtensionProcessor
-
getServletWrapper
public IServletWrapper getServletWrapper(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse resp) throws Exception - Specified by:
getServletWrapperin interfaceExtensionProcessor- Overrides:
getServletWrapperin classWebExtensionProcessor- Throws:
Exception
-