com.atlassian.confluence.servlet
Class DelegatingServletManager
java.lang.Object
com.atlassian.confluence.servlet.DelegatingServletManager
- All Implemented Interfaces:
- ServletManager
public abstract class DelegatingServletManager
- extends Object
- implements ServletManager
Field Summary |
static org.apache.log4j.Category |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final org.apache.log4j.Category log
DelegatingServletManager
public DelegatingServletManager()
servletDestroyed
public void servletDestroyed(SpringManagedServlet springManagedServlet)
- Specified by:
servletDestroyed
in interface ServletManager
service
public void service(SpringManagedServlet springManagedServlet,
ServletRequest request,
ServletResponse response)
throws ServletException,
IOException
- Throws:
ServletException
IOException
servletInitialised
public void servletInitialised(SpringManagedServlet springManagedServlet,
ServletConfig servletConfig)
throws ServletException
- Specified by:
servletInitialised
in interface ServletManager
- Throws:
ServletException
makeNewWrappedServlet
protected abstract Servlet makeNewWrappedServlet()
- Override this method to return the servlet that is being wrapped by this manager.
- Returns:
- the servlet that is being wrapped by this manager
servletPostInit
protected void servletPostInit(Servlet wrappedServlet)
- Override this method to perform any custom initialisation on the wrapped servlet. This will be called after
Servlet.init(javax.servlet.ServletConfig)
but before the servlet services any requests.
- Parameters:
wrappedServlet
- the servlet to be initialised.