Class WebDavServletBean

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
nl.info.webdav.WebDavServletBean
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable
Direct Known Subclasses:
WebdavServlet

public class WebDavServletBean extends jakarta.servlet.http.HttpServlet
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected ResourceLocks
     
    protected IWebdavStore
     

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected Principal
    getUserPrincipal(jakarta.servlet.http.HttpServletRequest req)
    Method that permit to customize the way user information are extracted from the request, default use JAAS
    void
    init(IWebdavStore store, String dftIndexFile, String insteadOf404, int noContentLengthHeaders, boolean lazyFolderCreationOnPut)
     
    protected IMethodExecutor
    register(String methodName, IMethodExecutor method)
     
    protected void
    service(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp)
    Handles the special WebDAV methods.

    Methods inherited from class jakarta.servlet.http.HttpServlet

    doDelete, doGet, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, init, isSensitiveHeader, service

    Methods inherited from class jakarta.servlet.GenericServlet

    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

    • WebDavServletBean

      public WebDavServletBean()
  • Method Details

    • init

      public void init(IWebdavStore store, String dftIndexFile, String insteadOf404, int noContentLengthHeaders, boolean lazyFolderCreationOnPut)
    • destroy

      public void destroy()
      Specified by:
      destroy in interface jakarta.servlet.Servlet
      Overrides:
      destroy in class jakarta.servlet.GenericServlet
    • register

      protected IMethodExecutor register(String methodName, IMethodExecutor method)
    • service

      protected void service(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws jakarta.servlet.ServletException, IOException
      Handles the special WebDAV methods.
      Overrides:
      service in class jakarta.servlet.http.HttpServlet
      Throws:
      jakarta.servlet.ServletException
      IOException
    • getUserPrincipal

      protected Principal getUserPrincipal(jakarta.servlet.http.HttpServletRequest req)
      Method that permit to customize the way user information are extracted from the request, default use JAAS
      Parameters:
      req - the request
      Returns:
      the principal