Class DownloadAction

  • All Implemented Interfaces:
    com.xpn.xwiki.internal.web.LegacyAction
    Direct Known Subclasses:
    DownloadRevAction

    @Component
    @Named("download")
    @Singleton
    public class DownloadAction
    extends XWikiAction
    The action for downloading attachments from the server.
    Version:
    $Id: 3630772c40c1c9fc9fb48cd073a48912c25f1712 $
    • Field Detail

      • MIMETYPE_WHITELIST

        public static final List<String> MIMETYPE_WHITELIST
        List of authorized attachment mimetypes.
      • WHITELIST_PROPERTY

        public static final String WHITELIST_PROPERTY
        Key of the whitelist in xwiki.properties.
        See Also:
        Constant Field Values
      • BLACKLIST_PROPERTY

        public static final String BLACKLIST_PROPERTY
        Key of the blacklist in xwiki.properties.
        See Also:
        Constant Field Values
      • FORCE_DOWNLOAD_PROPERTY

        @Unstable
        public static final String FORCE_DOWNLOAD_PROPERTY
        Key of the forceDownload list in xwiki.properties.
        Since:
        12.10
        See Also:
        Constant Field Values
    • Constructor Detail

      • DownloadAction

        public DownloadAction()