public class DownloadFileHandler extends BaseHandler
Constructor and Description |
---|
DownloadFileHandler(Event event) |
Modifier and Type | Method and Description |
---|---|
protected void |
copyFile(SyncFile syncFile,
java.nio.file.Path filePath,
java.io.InputStream inputStream,
boolean append) |
protected void |
doHandleResponse(org.apache.http.HttpResponse httpResponse) |
void |
handleException(java.lang.Exception e) |
boolean |
handlePortalException(java.lang.String exception) |
protected boolean |
isUnsynced(SyncFile syncFile) |
getException, getLocalSyncFile, getParameters, getParameterValue, getSyncAccountId, handleResponse, handleSiteDeactivatedException, isEventCancelled, processFinally, processResponse, removeEvent, retryServerConnection
public DownloadFileHandler(Event event)
public void handleException(java.lang.Exception e)
handleException
in interface Handler<java.lang.Void>
handleException
in class BaseHandler
public boolean handlePortalException(java.lang.String exception) throws java.lang.Exception
handlePortalException
in interface Handler<java.lang.Void>
handlePortalException
in class BaseHandler
java.lang.Exception
protected void copyFile(SyncFile syncFile, java.nio.file.Path filePath, java.io.InputStream inputStream, boolean append) throws java.lang.Exception
java.lang.Exception
protected void doHandleResponse(org.apache.http.HttpResponse httpResponse) throws java.lang.Exception
doHandleResponse
in class BaseHandler
java.lang.Exception
protected boolean isUnsynced(SyncFile syncFile)