public class DownloadObjectToFileCommandImpl extends AbstractDownloadObjectCommand<org.apache.http.client.methods.HttpGet,Object> implements DownloadObjectToFileCommand
CONTENT_LENGTH, ETAGLOG, request, response| Constructor and Description |
|---|
DownloadObjectToFileCommandImpl(Account account,
org.apache.http.client.HttpClient httpClient,
Access access,
StoredObject object,
DownloadInstructions downloadInstructions,
File targetFile) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getMd5() |
protected Object |
getObjectAsReturnObject() |
protected void |
handleEntity(org.apache.http.HttpEntity entity) |
createRequest, getReturnObject, getStatusCheckerscall, getURL, setConnectionKeepAliveaddHeaders, close, closeStreamAutomatically, createObjectMapper, modifyURI, setAllowErrorLog, setHeaderpublic DownloadObjectToFileCommandImpl(Account account, org.apache.http.client.HttpClient httpClient, Access access, StoredObject object, DownloadInstructions downloadInstructions, File targetFile)
protected void handleEntity(org.apache.http.HttpEntity entity)
throws IOException
handleEntity in class AbstractDownloadObjectCommand<org.apache.http.client.methods.HttpGet,Object>IOExceptionprotected String getMd5() throws IOException
getMd5 in class AbstractDownloadObjectCommand<org.apache.http.client.methods.HttpGet,Object>IOExceptionprotected Object getObjectAsReturnObject()
getObjectAsReturnObject in class AbstractDownloadObjectCommand<org.apache.http.client.methods.HttpGet,Object>Copyright © 2012-2017 42 BV. All Rights Reserved.