You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2007/08/20 05:45:34 UTC

[jira] Closed: (STR-2436) DownloadAction enhancements

     [ https://issues.apache.org/struts/browse/STR-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict closed STR-2436.
------------------------------

    Resolution: Duplicate
      Assignee:     (was: Struts Developers)

> DownloadAction enhancements
> ---------------------------
>
>                 Key: STR-2436
>                 URL: https://issues.apache.org/struts/browse/STR-2436
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Extras
>    Affects Versions: Nightly Build
>         Environment: Operating System: All
> Platform: All
>            Reporter: Riyaz Mansoor
>            Priority: Minor
>         Attachments: DownloadAction.java, streaminfo.patch
>
>
> include getFileName() method in StreamInfo interface. Can be convenient when
> downloaders don't know the file type, or just so that users don't have to type
> in a name
> include concrete class of StreamInfo interface that takes arguments of
> ContentType and [Bufferred]InputeStream. convenient when files to be downloaded
> is fetched from database (ResultSet.getBinaryData() or similar methods) - no
> need to write to disk and then use FileStreamInfo

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.