public class SimpleUrlFetcher extends Object implements UrlFetcher
| Constructor and Description |
|---|
SimpleUrlFetcher() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
encodeUrl(String name) |
InputStream |
fetchFromUrl(org.apache.http.impl.client.CloseableHttpClient client,
String base,
String name,
long ifModifiedSince) |
protected org.apache.http.client.methods.HttpGet |
postProcessGet(org.apache.http.client.methods.HttpGet get) |
public InputStream fetchFromUrl(org.apache.http.impl.client.CloseableHttpClient client, String base, String name, long ifModifiedSince) throws IOException
fetchFromUrl in interface UrlFetcherIOExceptionprotected org.apache.http.client.methods.HttpGet postProcessGet(org.apache.http.client.methods.HttpGet get)
Copyright © 2015–2017. All rights reserved.