public boolean removeDocument(String documentPath) throws IOException { Response res = callDelete(buildEncodeCall(API_DELETE, documentPath)); boolean removed = (Status.STATUS_OK == res.getStatus().getCode()); if (logger.isDebugEnabled()) logger.debug("RemoteStore.removeDocument() " + documentPath + " = " + res.getStatus().getCode() + " (removed = "+removed+")"); return removed; }
public boolean removeDocument(String documentPath) throws IOException { Response res = callDelete(buildEncodeCall(API_DELETE, documentPath)); boolean removed = (Status.STATUS_OK == res.getStatus().getCode()); if (logger.isDebugEnabled()) logger.debug("RemoteStore.removeDocument() " + documentPath + " = " + res.getStatus().getCode() + " (removed = "+removed+")"); return removed; }
public boolean removeDocument(String documentPath) throws IOException { Response res = callDelete(buildEncodeCall(API_DELETE, documentPath)); boolean removed = (Status.STATUS_OK == res.getStatus().getCode()); if (logger.isDebugEnabled()) logger.debug("RemoteStore.removeDocument() " + documentPath + " = " + res.getStatus().getCode() + " (removed = "+removed+")"); return removed; }