Package com.helger.httpclient
Class HttpClientUrlDownloader
java.lang.Object
com.helger.httpclient.HttpClientUrlDownloader
- All Implemented Interfaces:
com.helger.base.url.IURLDownloader
Special implementation of
IURLDownloader to download data using Apache HttpClient via GET
and the provided HttpClientSettings.- Since:
- 10.4.1
- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HttpClientUrlDownloader
Constructor withHttpClientSettings- Parameters:
aHCS- TheHttpClientSettingsto use. Must not benull.
-
HttpClientUrlDownloader
Constructor withHttpClientFactory- Parameters:
aHCF- TheHttpClientFactoryto use. Must not benull.
-
-
Method Details
-
downloadURL
- Specified by:
downloadURLin interfacecom.helger.base.url.IURLDownloader- Throws:
Exception
-