pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.webdav.request
Class PropFindRequest

java.lang.Object
  extended by org.torweg.pulse.webdav.request.PropFindRequest

public class PropFindRequest
extends java.lang.Object

represents a PROPFIND request.

TODO: add support for <quota-available-bytes/> and <quota-bytes-used/>.

TODO: add support for dead properties.

Version:
$Revision: 1523 $
Author:
Thomas Weber

Constructor Summary
PropFindRequest(java.io.InputStream inputStream, DAVStore store, Depth d, java.lang.String servletURL)
           
 
Method Summary
 Depth getDepth()
          returns the depth.
 java.util.Set<DAVProperties> getRequestedDAVProperties()
          returns the requested DAV (live) properties.
 java.util.Set<DeadProperty> getRequestedDeadProperties()
          returns the requested dead properties.
 java.lang.String getWebdavServletURL()
           
 boolean isPropNameRequest()
           
 java.lang.String toString()
          returns a string representation of the PropFindRequest.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropFindRequest

public PropFindRequest(java.io.InputStream inputStream, DAVStore store, Depth d,
                       java.lang.String servletURL)
Parameters:
inputStream - the input stream to build the XML from
store - the DAVStore to get all available dead properties (may be null)
d - the requested depth
servletURL - the URL of the webdav servlet
Method Detail

getRequestedDAVProperties

public final java.util.Set<DAVProperties> getRequestedDAVProperties()
returns the requested DAV (live) properties.

Returns:
the requested DAV (live) properties

getRequestedDeadProperties

public final java.util.Set<DeadProperty> getRequestedDeadProperties()
returns the requested dead properties.

Returns:
the requested dead properties

getDepth

public final Depth getDepth()
returns the depth.

Returns:
the depth

getWebdavServletURL

public final java.lang.String getWebdavServletURL()
Returns:
the webdavServletURL

isPropNameRequest

public final boolean isPropNameRequest()
Returns:
the propNameRequest

toString

public java.lang.String toString()
returns a string representation of the PropFindRequest.

Overrides:
toString in class java.lang.Object
Returns:
a string representation