public class DownloadObjectAsInputStreamCommandImpl extends AbstractDownloadObjectCommand<org.apache.http.client.methods.HttpGet,java.io.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 java.lang.String |
getMd5() |
protected java.io.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 java.io.IOException
handleEntity in class AbstractDownloadObjectCommand<org.apache.http.client.methods.HttpGet,java.io.InputStream>java.io.IOExceptionprotected java.lang.String getMd5()
throws java.io.IOException
getMd5 in class AbstractDownloadObjectCommand<org.apache.http.client.methods.HttpGet,java.io.InputStream>java.io.IOExceptionprotected java.io.InputStream getObjectAsReturnObject()
getObjectAsReturnObject in class AbstractDownloadObjectCommand<org.apache.http.client.methods.HttpGet,java.io.InputStream>protected boolean closeStreamAutomatically()
closeStreamAutomatically in class AbstractCommand<org.apache.http.client.methods.HttpGet,java.io.InputStream>Copyright © 2012-2020 42 BV. All Rights Reserved.