Reputation: 1823
I'm getting list of files via PropFindMethod:
DavMethod pFind = new PropFindMethod(url, DavConstants.PROPFIND_ALL_PROP, DavConstants.DEPTH_1);
httpClient.executeMethod(pFind);
MultiStatus multiStatus = pFind.getResponseBodyAsMultiStatus();
MultiStatusResponse[] responses = multiStatus.getResponses();
for (int i = 0; i < responses.length; i++) {
DavPropertySet properties = responses[i].getProperties(200);
//...
}
but properties
does't contain any information about revisions of resource.
How can I get this information?
Upvotes: 0
Views: 859
Reputation: 42025
Live DeltaV properties are not reported with PROPFIND allprop, see RFC 3253. You probably need the properties DAV:checked-in, DAV:checked-out, and DAV:version-history, or the DAV:version-history report.
Upvotes: 1