Package com.ibm.wsspi.webcontainer
Class WebContainer
java.lang.Object
com.ibm.websphere.servlet.container.WebContainer
com.ibm.wsspi.webcontainer.WebContainer
public class WebContainer
extends com.ibm.websphere.servlet.container.WebContainer
This class enables users to get at an instance (singleton) of the 
 WebContainer so that they can delegate request processing. The
 webcontainer returned is the single instance (per JVM) of the runtime
 container that handles Servlets, JSP, and all registered ExtensionProcessors.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.ibm.websphere.servlet.container.WebContainercom.ibm.websphere.servlet.container.WebContainer.Feature
- 
Method SummaryModifier and TypeMethodDescriptionvoidgetKeySize(String cipherSuite) static com.ibm.ejs.ras.TraceNLSgetNls()static WebContainerstatic PropertiesvoidhandleRequest(IRequest req, IResponse res) booleanbooleanisCollaboratorEnabled(String type) static voidvoidsetServletCachingInitNeeded(boolean bool) voidsetWebContainerStopping(boolean isStopped) Methods inherited from class com.ibm.websphere.servlet.container.WebContaineraddGlobalListener
- 
Method Details- 
getURIEncoding
- 
getWebContainer- Returns:
- The instance of the WebContainer Call this method to get at an instance of the WebContainer
 
- 
handleRequest- Specified by:
- handleRequestin class- com.ibm.websphere.servlet.container.WebContainer
- Parameters:
- req-
- res-
- Throws:
- Exception- Call this method to force the webcontainer to handle the request. The request should have enough information in it for the webcontainer to handle the request.
 
- 
registerExtensionFactory- Parameters:
- fac- The factory that provides ExtensionProcessors which the webcontainer will leverage to handle requests. Register an extension factory with this webcontainer
- See Also:
 
- 
getWebContainerProperties- Returns:
- The additional/custom properties configured for this webcontainer
 
- 
getWebContainerConfig
- 
isCollaboratorEnabled
- 
setServletCachingInitNeededpublic void setServletCachingInitNeeded(boolean bool) 
- 
isCachingEnabledpublic boolean isCachingEnabled()
- 
getPlatformHelper
- 
getKeySize
- 
getExtClassLoader
- 
getNlspublic static com.ibm.ejs.ras.TraceNLS getNls()
- 
setWebContainerStoppingpublic void setWebContainerStopping(boolean isStopped) 
- 
decrementNumRequestspublic void decrementNumRequests()
 
-