private long cacheExpiration = -1L;
private HttpFetcher fetcher;
private HttpFetchConfiguration getSettings() {
HttpFetchConfigurationBuilder c = new HttpFetchConfigurationBuilder();
c.setBasicAuthHost(basicAuthHost);
c.setBasicAuthPassword(basicAuthPassword);
c.setBasicAuthPort(basicAuthPort);
c.setBasicAuthUsername(basicAuthUsername);
c.setCacheExpiration(cacheExpiration);
c.setRetries(retries);
c.setSessionCookieUri(sessionCookieUri);
c.setSslHostExceptions(sslHostExceptions);
return c.build();
}