Class WebDavServlet

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class WebDavServlet
    extends javax.servlet.GenericServlet
    Implements a WebDAV servlet. The servlet simply forwards WebDAV requests to a RequestHandlerFactory instance, whose class is specified in the web application's web.xml file:

    <context-param>
      <param-name>requestHandlerFactoryClass</param-name>
      <param-value>com.mydomain.MyWebDAVFactory</param-value>
    </context-param>

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      WebDavServlet()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init​(javax.servlet.ServletConfig config)  
      void service​(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)  
      • 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
    • Constructor Detail

      • WebDavServlet

        public WebDavServlet()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig config)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class javax.servlet.GenericServlet
        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:
        service in interface javax.servlet.Servlet
        Specified by:
        service in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException
        java.io.IOException