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
Fields Modifier and Type Field Description static java.lang.StringMETA_INF_DIRstatic java.lang.StringPARAM_BUFFER_SIZEstatic java.lang.StringPARAM_DEFAULT_PAGEstatic java.lang.StringWEB_INF_DIR
-
Constructor Summary
Constructors Constructor Description DefaultExtensionProcessor(IServletContext webapp, java.util.HashMap params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IServletWrappercreateServletWrapper(IServletConfig config)com.ibm.wsspi.webcontainer.util.URIMatchercreateURIMatcher(java.util.List list)voiddestroy()intgetDefaultBufferSize()java.lang.StringgetEsiControl()WebComponentMetaDatagetMetaData()java.lang.StringgetName()intgetOptimizeFileServingSize()java.util.ListgetPatternList()Returns the list of patterns (as Strings) conforming with the servlet mappings as mandated by the servlet spec.javax.servlet.ServletConfiggetServletConfig()java.lang.StringgetServletInfo()IServletWrappergetServletWrapper(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)voidhandleRequest(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)voidinit(javax.servlet.ServletConfig arg0)booleanisAvailable(java.lang.String resource)booleanisAvailableInDocumentRoot(java.lang.String resource, boolean searchEDR)voidnameSpacePostInvoke()voidnameSpacePreInvoke()java.lang.StringremoveLeadingSlashes(java.lang.String src)voidservice(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)-
Methods inherited from class com.ibm.ws.webcontainer.extension.WebExtensionProcessor
createConfig, createConfig, isInternal
-
-
-
-
Field Detail
-
PARAM_DEFAULT_PAGE
public static final java.lang.String PARAM_DEFAULT_PAGE
- See Also:
- Constant Field Values
-
PARAM_BUFFER_SIZE
public static final java.lang.String PARAM_BUFFER_SIZE
- See Also:
- Constant Field Values
-
WEB_INF_DIR
public static final java.lang.String WEB_INF_DIR
- See Also:
- Constant Field Values
-
META_INF_DIR
public static final java.lang.String META_INF_DIR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DefaultExtensionProcessor
public DefaultExtensionProcessor(IServletContext webapp, java.util.HashMap params)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceRequestProcessor- Overrides:
getNamein classWebExtensionProcessor
-
handleRequest
public void handleRequest(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws java.lang.Exception- Specified by:
handleRequestin interfaceRequestProcessor- Throws:
java.lang.Exception
-
removeLeadingSlashes
public java.lang.String removeLeadingSlashes(java.lang.String src)
-
getEsiControl
public java.lang.String getEsiControl()
- Returns:
-
getDefaultBufferSize
public int getDefaultBufferSize()
- Returns:
-
getPatternList
public java.util.List 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
-
createURIMatcher
public com.ibm.wsspi.webcontainer.util.URIMatcher createURIMatcher(java.util.List list)
-
isAvailable
public boolean isAvailable(java.lang.String resource)
- Overrides:
isAvailablein classWebExtensionProcessor
-
isAvailableInDocumentRoot
public boolean isAvailableInDocumentRoot(java.lang.String resource, boolean searchEDR)
-
createServletWrapper
public IServletWrapper createServletWrapper(IServletConfig config) throws java.lang.Exception
- Overrides:
createServletWrapperin classWebExtensionProcessor- Throws:
java.lang.Exception
-
getMetaData
public WebComponentMetaData getMetaData()
- Specified by:
getMetaDatain interfaceExtensionProcessor- Overrides:
getMetaDatain classWebExtensionProcessor
-
nameSpacePostInvoke
public void nameSpacePostInvoke()
- Specified by:
nameSpacePostInvokein interfaceNamespaceInvoker
-
nameSpacePreInvoke
public void nameSpacePreInvoke()
- Specified by:
nameSpacePreInvokein interfaceNamespaceInvoker
-
getOptimizeFileServingSize
public int getOptimizeFileServingSize()
-
destroy
public void destroy()
- Specified by:
destroyin interfacejavax.servlet.Servlet
-
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
- Specified by:
getServletConfigin interfacejavax.servlet.Servlet
-
getServletInfo
public java.lang.String getServletInfo()
- Specified by:
getServletInfoin interfacejavax.servlet.Servlet
-
init
public void init(javax.servlet.ServletConfig arg0) throws javax.servlet.ServletException- Specified by:
initin interfacejavax.servlet.Servlet- Throws:
javax.servlet.ServletException
-
service
public void service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, java.io.IOException- Specified by:
servicein interfacejavax.servlet.Servlet- Throws:
javax.servlet.ServletExceptionjava.io.IOException
-
getServletWrapper
public IServletWrapper getServletWrapper(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
- Specified by:
getServletWrapperin interfaceExtensionProcessor- Overrides:
getServletWrapperin classWebExtensionProcessor
-
-