Vector histUri, int depth)
throws HttpException, IOException {
setClient();
// Default depth=0, type=by_name
ReportMethod method = new ReportMethod(httpURL.getEscapedPath(), depth,
properties.elements(),
histUri.elements());
client.executeMethod(method);
Vector results = new Vector();
Enumeration responses = method.getResponses();
while (responses.hasMoreElements()) {
ResponseEntity response = (ResponseEntity) responses.nextElement();
String href = response.getHref();
String sResult = href;
// Set status code for this resource.
if ((thisResource == true) && (response.getStatusCode() > 0))
setStatusCode(response.getStatusCode());
thisResource = false;
Enumeration responseProperties = method.getResponseProperties(href);
while (responseProperties.hasMoreElements()) {
Property property = (Property) responseProperties.nextElement();
sResult += "\n" + property.getName() + ":\t" +
DOMUtils.getTextValue(property.getElement());
}