public class DownloadDriver 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
File name of the download.
|
protected InputStream |
inputStream
Input stream of the file to download.
|
| Constructor and Description |
|---|
DownloadDriver() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
long |
getContentLength() |
String |
getContentType() |
String |
getFileName() |
InputStream |
getInputStream() |
void |
setFileName(String fileName) |
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 fileName
protected transient InputStream inputStream
protected long contentLength
protected String contentType
public void setFileName(String fileName)
public String getFileName()
public InputStream getInputStream()
public long getContentLength()
public String getContentType()
Copyright © 2011–2015 Ifremer. All rights reserved.