// only property names requested
if (propFindType == PROPFIND_PROPERTY_NAMES) {
PropContainer status200 = getPropContainer(DavServletResponse.SC_OK, true);
DavPropertyName[] propNames = resource.getPropertyNames();
for (int i = 0; i < propNames.length; i++) {
status200.addContent(propNames[i]);
}
// all or a specified set of property and their values requested.
} else {
PropContainer status200 = getPropContainer(DavServletResponse.SC_OK, false);
// clone set of property, since several resources could use this again