public class DownloadImportFile extends EchoBaseActionSupport
| Modifier and Type | Field and Description |
|---|---|
protected long |
contentLength
Length of the file to download.
|
protected String |
contentType
Content type of the file to download.
|
protected String |
filename |
protected String |
importFileId
id of import file to download.
|
protected InputStream |
inputStream
Input stream of the file to download.
|
protected UserDbPersistenceService |
userDbPersistenceService |
| Constructor and Description |
|---|
DownloadImportFile() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
long |
getContentLength() |
String |
getContentType() |
String |
getFilename() |
String |
getImportFileId() |
InputStream |
getInputStream() |
void |
setImportFileId(String importFileId) |
addFlashError, addFlashMessage, addFlashWarning, formatDate, formatMonth, getDocumentation, getDocumentation, getEchoBaseApplicationContext, getEchoBaseSession, getServiceContext, newServiceaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getFormatted, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validateprotected String importFileId
protected String filename
protected transient InputStream inputStream
protected long contentLength
protected String contentType
@Inject protected transient UserDbPersistenceService userDbPersistenceService
public void setImportFileId(String importFileId)
public String getImportFileId()
public String getFilename()
public InputStream getInputStream()
public long getContentLength()
public String getContentType()
Copyright © 2011–2015 Ifremer. All rights reserved.