public class DownloadObjectToFileCommandImpl extends AbstractDownloadObjectCommand<org.apache.http.client.methods.HttpGet,java.lang.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,
java.io.File targetFile) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getMd5() |
protected java.lang.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, java.io.File targetFile)
protected void handleEntity(org.apache.http.HttpEntity entity)
throws java.io.IOException
handleEntity in class AbstractDownloadObjectCommand<org.apache.http.client.methods.HttpGet,java.lang.Object>java.io.IOExceptionprotected java.lang.String getMd5()
throws java.io.IOException
getMd5 in class AbstractDownloadObjectCommand<org.apache.http.client.methods.HttpGet,java.lang.Object>java.io.IOExceptionprotected java.lang.Object getObjectAsReturnObject()
getObjectAsReturnObject in class AbstractDownloadObjectCommand<org.apache.http.client.methods.HttpGet,java.lang.Object>Copyright © 2012-2020 42 BV. All Rights Reserved.