case WebdavStatus.SC_MULTI_STATUS:
Property p = findProperty(propFind, RESOURCETYPE, httpURL.getPath());
if (p instanceof ResourceTypeProperty) {
return ((ResourceTypeProperty)p).isCollection();
} else {
throw new WebdavException("PROPFFIND does not return resourcetype");
}
case WebdavStatus.SC_NOT_FOUND:
return false;
default:
HttpException ex = new HttpException();