I'm using the WebdavResource object in my client code.  I create a 
Webdav resource like so:

WebdavResource wdr = new WebdavResource(url, 1);

and it does a propfind on my slide servlet. So this is good... Then I 
list the resources like so:

WebdavResource[] wdrs = wdr.listWebdavResources();

But, this generates ANOTHER propfind, which I think should be totally 
unnecessary.  My question is, am I wrong in think it is unnecessary? And 
if not, what should WebdavResource actually do?  Should it NOT issue a 
propfind when the object is created?  This might be nice if you create 
the object to do other things, such as a get/put method, and you don't 
need a propfind.  Or should the listWebdavResources() method check and 
see if it already has the properties in memory?  I suppose you could 
argue that these properties are out of date though...

Thanks for your help!

-- 
Dan Diephouse <http://www.compassarts.org/>

Reply via email to