public abstract class UrlLoader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
GZIP |
static String |
HEADER_ACCEPT_ENCODING |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkAndLoadCache() |
protected abstract boolean |
doRead(InputStream is) |
String |
getUrl() |
public static final String HEADER_ACCEPT_ENCODING
public static final String GZIP
public UrlLoader(String url, long expiration)
public String getUrl()
protected boolean checkAndLoadCache()
protected abstract boolean doRead(InputStream is) throws IOException
IOException
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.