Session session = session(repoName, workspaceName(repoPath), null);
String uri =
uriInfo.getBaseUriBuilder().path(getClass()).path(repoName).path(workspaceName(repoPath)).build()
.toString();
Depth depth = new Depth(depthHeader);
return new PropFindCommand().propfind(session, path(repoPath), body, depth.getIntValue(), uri);
}
catch (NoSuchWorkspaceException exc)
{
return Response.status(HTTPStatus.NOT_FOUND).entity(exc.getMessage()).build();
}