Hi

Recently 'delete handler' was added in jackrabbit. This provides the
ability to add handlers for handling webdav based 'delete' requests.
See JCR-3884
<https://issues.apache.org/jira/browse/JCR-3884>containing details on this.
Earlier this ability was just available for other webdav operations like to
copy/move etc. but was missing for 'delete'  .

Sling has written its own managers to keep track of these handlers. See [1]
which has pre-existing handler managers like  SlingCopyMoveManager.

I have logged SLING-4825 <https://issues.apache.org/jira/browse/SLING-4825>
for this. The intent of this jira issue is to add a delete handler manager
so that the delete handler functionality can now be leveraged in Sling.

I have implemented a proposed implementation for this. Please see [2]. Its
exactly similar to how the existing handler managers function in sling.

Regards
Satya Deep

[1] -
https://github.com/apache/sling/tree/trunk/bundles/jcr/webdav/src/main/java/org/apache/sling/jcr/webdav/impl/handler

[2] -
https://github.com/sdmcraft/sling/commit/ecc472fd2215a0c4a04b79e62c7751202e8889f4

Reply via email to