package at.gv.egiz.eaaf.core.impl.utils; import org.apache.http.impl.client.CloseableHttpClient; public interface IHttpClientFactory { /** * Return an instance of a Apache HTTP client that follows http redirects automatically * * @return */ CloseableHttpClient getHttpClient(); /** * Return an instance of a Apache HTTP client * @param followRedirects * @return */ CloseableHttpClient getHttpClient(boolean followRedirects); }