Modifier and Type | Field and Description |
---|---|
static String |
BYTES_SKIPPED |
Constructor and Description |
---|
ReliableResourceDownloader(ReliableResourceDownloaderConfig downloaderConfig,
AtomicBoolean downloadStarted,
String downloadIdentifier,
ResourceResponse resourceResponse,
ResourceRetriever retriever) |
Modifier and Type | Method and Description |
---|---|
Long |
getReliableResourceInputStreamBytesCached() |
String |
getReliableResourceInputStreamState() |
ResourceResponse |
getResourceResponse() |
String |
getResourceSize() |
void |
run() |
ResourceResponse |
setupDownload(Metacard metacard,
DownloadStatusInfo downloadStatusInfo) |
public static final String BYTES_SKIPPED
public ReliableResourceDownloader(ReliableResourceDownloaderConfig downloaderConfig, AtomicBoolean downloadStarted, String downloadIdentifier, ResourceResponse resourceResponse, ResourceRetriever retriever)
public ResourceResponse setupDownload(Metacard metacard, DownloadStatusInfo downloadStatusInfo)
public Long getReliableResourceInputStreamBytesCached()
public String getReliableResourceInputStreamState()
public String getResourceSize()
public ResourceResponse getResourceResponse()
This work is licensed under a Creative Commons Attribution 4.0 International License.