PropContainer status200 = getPropContainer(DavServletResponse.SC_OK, false);
// clone set of property, since several resources could use this again
propNameSet = new DavPropertyNameSet(propNameSet);
// Add requested properties or all non-protected properties, or
// non-protected properties plus requested properties (allprop/include)
DavPropertyIterator iter = resource.getProperties().iterator();
while (iter.hasNext()) {
DavProperty<?> property = iter.nextProperty();
boolean allDeadPlusRfc4918LiveProperties =
propFindType == PROPFIND_ALL_PROP || propFindType == PROPFIND_ALL_PROP_INCLUDE;
boolean wasRequested = propNameSet.remove(property.getName());
if ((allDeadPlusRfc4918LiveProperties && !property.isInvisibleInAllprop()) || wasRequested) {