Package ch.tocco.nice2.netui.api.dwr
Class DownloadFileTransfer
java.lang.Object
org.directwebremoting.io.FileTransfer
ch.tocco.nice2.netui.api.dwr.DownloadFileTransfer
public class DownloadFileTransfer
extends org.directwebremoting.io.FileTransfer
A marker class to force file download (instead of delivering it as base64 data url). See DownloadFileConverter.
By default, we enable base64 data url with property "preferDataUrlSchema" in Nice2DwrServlet.
-
Constructor Summary
ConstructorDescriptionDownloadFileTransfer
(BufferedImage image, String type) DownloadFileTransfer
(BufferedImage image, String filename, String type) DownloadFileTransfer
(String filename, String mimeType, byte[] bytes) DownloadFileTransfer
(String filename, String mimeType, long size, InputStream in) DownloadFileTransfer
(String filename, String mimeType, long size, org.directwebremoting.io.InputStreamFactory inputStreamFactory) DownloadFileTransfer
(String filename, String mimeType, InputStream in) DownloadFileTransfer
(String filename, String mimeType, org.directwebremoting.io.InputStreamFactory inputStreamFactory) DownloadFileTransfer
(String filename, String mimeType, org.directwebremoting.io.OutputStreamLoader outputStreamLoader) DownloadFileTransfer
(org.directwebremoting.io.FileTransfer fileTransfer) -
Method Summary
Methods inherited from class org.directwebremoting.io.FileTransfer
getFilename, getInputStream, getMimeType, getOutputStreamLoader, getSize
-
Constructor Details
-
DownloadFileTransfer
-
DownloadFileTransfer
-
DownloadFileTransfer
-
DownloadFileTransfer
-
DownloadFileTransfer
-
DownloadFileTransfer
-
DownloadFileTransfer
-
DownloadFileTransfer
-
DownloadFileTransfer
public DownloadFileTransfer(org.directwebremoting.io.FileTransfer fileTransfer)
-