String url = domain+uri.toString();
DeleteMethod deleteMethod = new DeleteMethod(url);
deleteMethod.setDoAuthentication(true);
HttpState httpState = new HttpState();
httpState.setCredentials(null, host, credentials);
deleteMethod.execute(httpState, new HttpConnection(host, port, protocol));
}
public ArrayValue getChildren(URI uri, Credentials credentials) throws IOException {
String url = domain+uri.toString();
if ( url.charAt(url.length()-1) == '/') {