org.apache.xindice.webadmin.webdav.components
Class Propfind
java.lang.Object
org.apache.xindice.webadmin.webdav.components.Propfind
- All Implemented Interfaces:
- DAVComponent
- public class Propfind
- extends Object
- implements DAVComponent
This class implements the Propfind command for WebDAV operations on
Xindice.
PROPFIND command requests properties defined for resources or collections.
Request can have a body that contians XML document. It is possible
to request particular property values, all property values, or a
list of the names of the resource's properties. A client may choose not
to submit a request body. An empty PROPFIND request body is treated as a
request for the names and values of all properties.
A client may submit a Depth header with a value of "0", "1", or "infinity"
with a PROPFIND on a collection. By default, the PROPFIND method without a
Depth header acts as if a "Depth: infinity" header was included.
The default operation status code is 207 (Multi-Status).
- Version:
- $Revision: 551440 $, $Date: 2007-06-28 00:26:07 -0400 (Thu, 28 Jun 2007) $
- Author:
- Jan Metzner, Gianugo Rabellino
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FIND_BY_PROPERTY
public static final int FIND_BY_PROPERTY
- See Also:
- Constant Field Values
FIND_PROPERTY_NAMES
public static final int FIND_PROPERTY_NAMES
- See Also:
- Constant Field Values
FIND_ALL_PROP
public static final int FIND_ALL_PROP
- See Also:
- Constant Field Values
Propfind
public Propfind()
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
addPropfindResponse
public void addPropfindResponse(DAVResponse res,
String location,
HashMap statusList)
throws IOException
- Throws:
IOException
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.