Collection properties,
int reportType)
throws HttpException, IOException {
setClient();
AclReportMethod method =
new AclReportMethod(
URIUtil.encodePath(path),
properties,
DepthSupport.DEPTH_INFINITY,
reportType);
int status = client.executeMethod(method);
// Set status code for this resource.
if (thisResource == true) {
// Set the status code.
setStatusCode(method.getStatusLine().getStatusCode());
}
//slide/tamino delivers status code OK.
//can be removed when the server sends MULTI_STATUS
if (status != HttpStatus.SC_MULTI_STATUS && status != HttpStatus.SC_OK) {
HttpException ex = new HttpException();
ex.setReasonCode(status);
throw ex;
}
thisResource = false;
return method.getResponses();
}