Class DefaultExtensionProcessor
java.lang.Object
com.ibm.ws.webcontainer.extension.WebExtensionProcessor
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor
- All Implemented Interfaces:
ExtensionProcessor
,RequestProcessor
,NamespaceInvoker
,javax.servlet.Servlet
public abstract class DefaultExtensionProcessor
extends WebExtensionProcessor
implements NamespaceInvoker, javax.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.javax.servlet.ServletConfig
getServletWrapper
(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) void
handleRequest
(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) void
init
(javax.servlet.ServletConfig arg0) boolean
isAvailable
(String resource) boolean
isAvailableInDocumentRoot
(String resource, boolean searchEDR) void
void
void
service
(javax.servlet.ServletRequest request, javax.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(javax.servlet.ServletRequest request, javax.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 interfacejavax.servlet.Servlet
-
getServletConfig
public javax.servlet.ServletConfig getServletConfig()- Specified by:
getServletConfig
in interfacejavax.servlet.Servlet
-
getServletInfo
- Specified by:
getServletInfo
in interfacejavax.servlet.Servlet
-
init
public void init(javax.servlet.ServletConfig arg0) throws javax.servlet.ServletException - Specified by:
init
in interfacejavax.servlet.Servlet
- Throws:
javax.servlet.ServletException
-
service
public void service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, IOException - Specified by:
service
in interfacejavax.servlet.Servlet
- Throws:
javax.servlet.ServletException
IOException
-
getServletWrapper
public IServletWrapper getServletWrapper(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) - Specified by:
getServletWrapper
in interfaceExtensionProcessor
- Overrides:
getServletWrapper
in classWebExtensionProcessor
-