org.apache.xindice.webadmin.webdav.components
Class Delete
java.lang.Object
org.apache.xindice.webadmin.webdav.components.Delete
- All Implemented Interfaces:
- DAVComponent
- public class Delete
- extends Object
- implements DAVComponent
This class implements the Delete command for WebDAV operations on
Xindice.
DELETE command deletes target collection or resource. For collections,
it deletes the entire subtree, so Depth header in request cannot be
0 or 1, but it can be omitted.
The default success status code is 204 (No Content)
- Version:
- $Revision: 541515 $, $Date: 2007-05-24 22:45:06 -0400 (Thu, 24 May 2007) $
- Author:
- Jan Metzner, Gianugo Rabellino
Method Summary |
void |
execute(DAVRequest req,
DAVResponse res,
Location target)
Executes request to a target location, that can be either root ("/"),
collection, resource or an unknown location. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Delete
public Delete()
execute
public void execute(DAVRequest req,
DAVResponse res,
Location target)
throws javax.servlet.ServletException,
IOException
- Description copied from interface:
DAVComponent
- Executes request to a target location, that can be either root ("/"),
collection, resource or an unknown location.
- Specified by:
execute
in interface DAVComponent
- Parameters:
req
- WebDAV requestres
- WebDAV servlettarget
- target location
- Throws:
javax.servlet.ServletException
IOException
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.