Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3884

Add handler to handle webdav based DELETE requests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.10.2
    • jackrabbit-webdav
    • None

    Description

      The AbstractWebdavServlet takes care of handling
      the webdav requests. In case of DELETE, it just goes ahead and deletes the
      resource. See [1]. A mechanism is needed to hook in any code here to get
      invoked whenever a DELETE request is made, similar to CopyMoveHandler which get invoked in case of COPY/MOVE requests.

      Related conversation on this in jackrabbit users' mailing list at [2].

      Proposed Solution: https://github.com/sdmcraft/jackrabbit/commit/a0799f724d8c68f5047d2103645693cb313abda4

      [1]-https://github.com/apache/jackrabbit/blob/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/server/AbstractWebdavServlet.java#L336
      [2]-http://jackrabbit.510166.n4.nabble.com/Handling-webdav-DELETE-request-td4662375.html

      Attachments

        1. JCR-3884.patch
          17 kB
          Satya Deep Maheshwari

        Issue Links

          Activity

            People

              tripod Tobias Bocanegra
              satyadeep Satya Deep Maheshwari
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: