final String fullTextSearchParameter = "Excepteur";
final String queryUrl = WEBDAV_BASE_URL + "/content.query.json?queryType=xpath&statement="
+ URLEncoder.encode("/jcr:root/" + folderName
+ "//*[jcr:contains(.,'" + fullTextSearchParameter+ "')]", "UTF-8");
new RetryLoop(new Condition() {
public boolean isTrue() throws Exception {
String result = getContent(queryUrl, CONTENT_TYPE_JSON);
JSONArray results = new JSONArray(result);