Class WebDAVServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.alfresco.repo.webdav.WebDAVServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class WebDAVServlet extends javax.servlet.http.HttpServlet
Servlet that accepts WebDAV requests for the hub. The request is served by the hub's content repository framework and the response sent back using the WebDAV protocol.
Author:
gavinc
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Bean to hold injected initialization parameters.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Hashtable<String,Class<? extends WebDAVMethod>>
     
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected WebDAVMethod
    createMethod(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Create a WebDAV method handler
    protected WebDAVHelper
     
    static NodeRef
     
    void
    init(javax.servlet.ServletConfig config)
    Initialize the servlet
    protected void
    service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     

    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
  • Field Details

  • Constructor Details

    • WebDAVServlet

      public WebDAVServlet()
  • Method Details

    • service

      protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
      Overrides:
      service in class javax.servlet.http.HttpServlet
      Throws:
      javax.servlet.ServletException
      IOException
      See Also:
      • HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    • createMethod

      protected WebDAVMethod createMethod(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Create a WebDAV method handler
      Parameters:
      request - HttpServletRequest
      response - HttpServletResponse
      Returns:
      WebDAVMethod
    • init

      public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
      Initialize the servlet
      Specified by:
      init in interface javax.servlet.Servlet
      Overrides:
      init in class javax.servlet.GenericServlet
      Parameters:
      config - ServletConfig
      Throws:
      javax.servlet.ServletException
    • getDAVHelper

      protected WebDAVHelper getDAVHelper()
    • getWebdavRootNode

      public static NodeRef getWebdavRootNode()
      Returns:
      root node for WebDAV