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