Class ApacheFetcher
- java.lang.Object
-
- network.oxalis.vefa.peppol.lookup.fetcher.AbstractFetcher
-
- network.oxalis.vefa.peppol.lookup.fetcher.BasicApacheFetcher
-
- network.oxalis.vefa.peppol.lookup.fetcher.ApacheFetcher
-
- All Implemented Interfaces:
MetadataFetcher
public class ApacheFetcher extends BasicApacheFetcher
-
-
Field Summary
-
Fields inherited from class network.oxalis.vefa.peppol.lookup.fetcher.BasicApacheFetcher
requestConfig
-
Fields inherited from class network.oxalis.vefa.peppol.lookup.fetcher.AbstractFetcher
timeout
-
-
Constructor Summary
Constructors Constructor Description ApacheFetcher(Mode mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.hc.client5.http.impl.classic.CloseableHttpClientcreateClient()FetcherResponsefetch(List<URI> uriList)
-
-
-
Constructor Detail
-
ApacheFetcher
public ApacheFetcher(Mode mode)
-
-
Method Detail
-
createClient
protected org.apache.hc.client5.http.impl.classic.CloseableHttpClient createClient()
-
fetch
public FetcherResponse fetch(List<URI> uriList) throws LookupException, FileNotFoundException
- Specified by:
fetchin interfaceMetadataFetcher- Specified by:
fetchin classBasicApacheFetcher- Throws:
LookupExceptionFileNotFoundException
-
-