Class DownloadFileTransfer

java.lang.Object
org.directwebremoting.io.FileTransfer
ch.tocco.nice2.netui.api.dwr.DownloadFileTransfer

@Deprecated public class DownloadFileTransfer extends org.directwebremoting.io.FileTransfer
Deprecated.
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 Details

    • DownloadFileTransfer

      public DownloadFileTransfer(String filename, String mimeType, org.directwebremoting.io.OutputStreamLoader outputStreamLoader)
      Deprecated.
    • DownloadFileTransfer

      public DownloadFileTransfer(BufferedImage image, String type)
      Deprecated.
    • DownloadFileTransfer

      public DownloadFileTransfer(BufferedImage image, String filename, String type)
      Deprecated.
    • DownloadFileTransfer

      public DownloadFileTransfer(String filename, String mimeType, byte[] bytes)
      Deprecated.
    • DownloadFileTransfer

      public DownloadFileTransfer(String filename, String mimeType, long size, org.directwebremoting.io.InputStreamFactory inputStreamFactory)
      Deprecated.
    • DownloadFileTransfer

      public DownloadFileTransfer(String filename, String mimeType, long size, InputStream in)
      Deprecated.
    • DownloadFileTransfer

      public DownloadFileTransfer(String filename, String mimeType, org.directwebremoting.io.InputStreamFactory inputStreamFactory)
      Deprecated.
    • DownloadFileTransfer

      public DownloadFileTransfer(String filename, String mimeType, InputStream in)
      Deprecated.
    • DownloadFileTransfer

      public DownloadFileTransfer(org.directwebremoting.io.FileTransfer fileTransfer)
      Deprecated.