if (log.isDebugEnabled()) {
log.debug("Creating GeoRSS reader for URL " + url.toExternalForm() + " with user "
+ username);
}
HttpClientBuilder builder = new HttpClientBuilder();
builder.setHttpCredentials(username, password, url);
builder.setBackendTimeout(120);
HttpClient httpClient = builder.buildClient();
GetMethod getMethod = new GetMethod(url.toString());
if (builder.isDoAuthentication()) {
getMethod.setDoAuthentication(true);
httpClient.getParams().setAuthenticationPreemptive(true);
}
if (log.isDebugEnabled()) {