Package org.bedework.caldav.server
Class CaldavBWServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.bedework.webdav.servlet.common.WebdavServlet
-
- org.bedework.caldav.server.CaldavBWServlet
-
- All Implemented Interfaces:
Serializable,EventListener,javax.servlet.http.HttpSessionListener,javax.servlet.Servlet,javax.servlet.ServletConfig,javax.servlet.ServletContextListener,org.bedework.util.logging.Logged,org.bedework.util.servlet.HttpAppLogger
public class CaldavBWServlet extends org.bedework.webdav.servlet.common.WebdavServlet implements javax.servlet.ServletContextListenerThis class extends the webdav servlet class, implementing the abstract methods and overriding others to extend/modify the behaviour.We implement ServletContextListener methods here to load and unload the configurations.
- Author:
- Mike Douglass douglm rpi.edu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CaldavBWServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddMethods()voidcontextDestroyed(javax.servlet.ServletContextEvent sce)voidcontextInitialized(javax.servlet.ServletContextEvent sce)org.bedework.util.logging.BwLoggergetLogger()org.bedework.webdav.servlet.shared.WebdavNsIntfgetNsIntf(javax.servlet.http.HttpServletRequest req)voidinit(javax.servlet.ServletConfig config)-
Methods inherited from class org.bedework.webdav.servlet.common.WebdavServlet
dumpRequest, getLogPrefix, service, sessionCreated, sessionDestroyed, setPreserveSession
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bedework.util.servlet.HttpAppLogger
emitLogEntry, getLogEntry, getSessionId, logInfo, logRequest, logRequestOut, logSessionCounts
-
Methods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, warn
-
-
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException- Specified by:
initin interfacejavax.servlet.Servlet- Overrides:
initin classorg.bedework.webdav.servlet.common.WebdavServlet- Throws:
javax.servlet.ServletException
-
addMethods
protected void addMethods()
- Overrides:
addMethodsin classorg.bedework.webdav.servlet.common.WebdavServlet
-
getNsIntf
public org.bedework.webdav.servlet.shared.WebdavNsIntf getNsIntf(javax.servlet.http.HttpServletRequest req) throws org.bedework.webdav.servlet.shared.WebdavException- Specified by:
getNsIntfin classorg.bedework.webdav.servlet.common.WebdavServlet- Throws:
org.bedework.webdav.servlet.shared.WebdavException
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce)
- Specified by:
contextInitializedin interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
- Specified by:
contextDestroyedin interfacejavax.servlet.ServletContextListener
-
getLogger
public org.bedework.util.logging.BwLogger getLogger()
- Specified by:
getLoggerin interfaceorg.bedework.util.logging.Logged- Overrides:
getLoggerin classorg.bedework.webdav.servlet.common.WebdavServlet
-
-