/**
* Ctor for this wrapper WebDav client.
* @param serverUrl The WebDav repository location (server)
*/
/** package */ WebDavClient(URL serverUrl) {
HttpClient httpClient = null;
if (Activator.getDefault().useDebugHttpClient()) {
httpClient = new DebugHttpClient();
} else {
httpClient = new HttpClient();
}
platformAuthenticator = new WebDavAuthenticator(serverUrl);
httpClient.setAuthenticator(platformAuthenticator);
client = new RemoteDAVClient(new WebDAVFactory(), httpClient);
}