Class DefaultExtensionProcessor
java.lang.Object
com.ibm.ws.webcontainer.extension.WebExtensionProcessor
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor
- All Implemented Interfaces:
ExtensionProcessor
,RequestProcessor
,NamespaceInvoker
,jakarta.servlet.Servlet
public abstract class DefaultExtensionProcessor
extends WebExtensionProcessor
implements NamespaceInvoker, jakarta.servlet.Servlet
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateServletWrapper
(IServletConfig config) com.ibm.wsspi.webcontainer.util.URIMatcher
createURIMatcher
(List list) void
destroy()
int
getName()
int
Returns the list of patterns (as Strings) conforming with the servlet mappings as mandated by the servlet spec.jakarta.servlet.ServletConfig
getServletWrapper
(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) void
handleRequest
(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) void
init
(jakarta.servlet.ServletConfig arg0) boolean
isAvailable
(String resource) boolean
isAvailableInDocumentRoot
(String resource, boolean searchEDR) void
void
void
service
(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) Methods inherited from class com.ibm.ws.webcontainer.extension.WebExtensionProcessor
createConfig, createConfig, isInternal
-
Field Details
-
PARAM_DEFAULT_PAGE
- See Also:
-
PARAM_BUFFER_SIZE
- See Also:
-
WEB_INF_DIR
- See Also:
-
META_INF_DIR
- See Also:
-
-
Constructor Details
-
DefaultExtensionProcessor
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceRequestProcessor
- Overrides:
getName
in classWebExtensionProcessor
-
handleRequest
public void handleRequest(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) throws Exception - Specified by:
handleRequest
in interfaceRequestProcessor
- Throws:
Exception
-
removeLeadingSlashes
-
getEsiControl
- Returns:
-
getDefaultBufferSize
public int getDefaultBufferSize()- Returns:
-
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
-
createURIMatcher
-
isAvailable
- Overrides:
isAvailable
in classWebExtensionProcessor
-
isAvailableInDocumentRoot
-
createServletWrapper
- Overrides:
createServletWrapper
in classWebExtensionProcessor
- Throws:
Exception
-
getMetaData
- Specified by:
getMetaData
in interfaceExtensionProcessor
- Overrides:
getMetaData
in classWebExtensionProcessor
-
nameSpacePostInvoke
public void nameSpacePostInvoke()- Specified by:
nameSpacePostInvoke
in interfaceNamespaceInvoker
-
nameSpacePreInvoke
public void nameSpacePreInvoke()- Specified by:
nameSpacePreInvoke
in interfaceNamespaceInvoker
-
getOptimizeFileServingSize
public int getOptimizeFileServingSize() -
destroy
public void destroy()- Specified by:
destroy
in interfacejakarta.servlet.Servlet
-
getServletConfig
public jakarta.servlet.ServletConfig getServletConfig()- Specified by:
getServletConfig
in interfacejakarta.servlet.Servlet
-
getServletInfo
- Specified by:
getServletInfo
in interfacejakarta.servlet.Servlet
-
init
public void init(jakarta.servlet.ServletConfig arg0) throws jakarta.servlet.ServletException - Specified by:
init
in interfacejakarta.servlet.Servlet
- Throws:
jakarta.servlet.ServletException
-
service
public void service(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) throws jakarta.servlet.ServletException, IOException - Specified by:
service
in interfacejakarta.servlet.Servlet
- Throws:
jakarta.servlet.ServletException
IOException
-
getServletWrapper
public IServletWrapper getServletWrapper(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response) - Specified by:
getServletWrapper
in interfaceExtensionProcessor
- Overrides:
getServletWrapper
in classWebExtensionProcessor
-