org.apache.cactus.server
Class ServletContextWrapper
java.lang.Object
|
+--org.apache.cactus.server.AbstractServletContextWrapper
|
+--org.apache.cactus.server.ServletContextWrapper
- All Implemented Interfaces:
- javax.servlet.ServletContext
- public class ServletContextWrapper
- extends AbstractServletContextWrapper
Wrapper around Servlet 2.3 ServletContext
. This wrapper
provides additional behaviour (see
AbstractServletContextWrapper
).
- Version:
- $Id: ServletContextWrapper.java,v 1.6 2001/09/15 12:40:43 vmassol Exp $
- Author:
- Vincent Massol
- See Also:
RequestDispatcherWrapper
Method Summary |
java.util.Set |
getResourcePaths()
|
java.util.Set |
getResourcePaths(java.lang.String thePath)
Added to support the changes of the Jakarta Servlet API 2.3 of the
17/03/2001 (in anticipation of the upcoming draft of Servlet 2.3). |
java.lang.String |
getServletContextName()
|
Methods inherited from class org.apache.cactus.server.AbstractServletContextWrapper |
getAttribute, getAttributeNames, getContext, getInitParameter, getInitParameterNames, getLogs, getMajorVersion, getMimeType, getMinorVersion, getNamedDispatcher, getRealPath, getRequestDispatcher, getResource, getResourceAsStream, getServerInfo, getServlet, getServletNames, getServlets, log, log, log, removeAttribute, setAttribute |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletContextWrapper
public ServletContextWrapper(javax.servlet.ServletContext theOriginalContext)
- Parameters:
theOriginalContext
- the original servlet context object
getServletContextName
public java.lang.String getServletContextName()
getResourcePaths
public java.util.Set getResourcePaths()
- See Also:
getResourcePaths(String)
getResourcePaths
public java.util.Set getResourcePaths(java.lang.String thePath)
- Added to support the changes of the Jakarta Servlet API 2.3 of the
17/03/2001 (in anticipation of the upcoming draft of Servlet 2.3). Kept
the method without parameters for servlet engines that do not have
upgraded yet to the new signature.
Copyright © 2000-2001 Apache Software Foundation. All Rights Reserved.