System.out.println("PUT fault: " + task.getFault());
}
});
// POST
DeleteQuery deleteQuery = new DeleteQuery(HOSTNAME, PORT, PATH, SECURE);
authentication.authenticate(deleteQuery);
deleteQuery.execute(new TaskListener<Void>() {
public void taskExecuted(Task<Void> task) {
System.out.println("DELETE result");
}
public void executeFailed(Task<Void> task) {