Package com.helger.phase4.profile.peppol
Class HttpClientUrlDownloader
java.lang.Object
com.helger.phase4.profile.peppol.HttpClientUrlDownloader
- All Implemented Interfaces:
com.helger.commons.url.IURLDownloader
public class HttpClientUrlDownloader
extends Object
implements com.helger.commons.url.IURLDownloader
Special implementation of
IURLDownloader to download CRL data using
Apache HttpClient via GET and the provided HttpClientSettings.- Since:
- 2.7.4
- Author:
- Philip Helger
-
Constructor Summary
ConstructorsConstructorDescriptionHttpClientUrlDownloader(com.helger.httpclient.HttpClientFactory aHCF) Constructor withHttpClientFactoryHttpClientUrlDownloader(com.helger.httpclient.HttpClientSettings aHCS) Constructor withHttpClientSettings -
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.commons.url.IURLDownloader- Throws:
Exception
-