Xindice API
version 1.2m1

org.apache.xindice.webadmin.webdav.components
Class Mkcol

java.lang.Object
  extended byorg.apache.xindice.webadmin.webdav.components.Mkcol
All Implemented Interfaces:
DAVComponent

public class Mkcol
extends Object
implements DAVComponent

This class implements the Mkcol command for WebDAV operations on Xindice.

MKCOL command creates new collection at a specified location. There must be no existing collection at the specified location. Newly created collection will be empty. WebDAV specification allows request to have a body that may contain instructions for creating child resources, but this behavior is not suppoted.

Operation possible status codes include:

Version:
$Revision: 541515 $, $Date: 2007-05-24 22:45:06 -0400 (Thu, 24 May 2007) $
Author:
Jan Metzner, Gianugo Rabellino

Constructor Summary
Mkcol()
           
 
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
 

Constructor Detail

Mkcol

public Mkcol()
Method Detail

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 request
res - WebDAV servlet
target - target location
Throws:
javax.servlet.ServletException
IOException

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.