Class UploadAction

  • All Implemented Interfaces:
    com.xpn.xwiki.internal.web.LegacyAction

    @Component
    @Named("upload")
    @Singleton
    public class UploadAction
    extends XWikiAction
    Action that handles uploading document attachments. It saves all the uploaded files whose fieldname start with filepath.
    Version:
    $Id: e6b34280973ef0388c5db6990b7059252d4e2483 $
    • Field Detail

      • FILE_FIELD_NAME

        @Unstable
        public static final String FILE_FIELD_NAME
        The prefix of the accepted file input field name.
        Since:
        14.10
        See Also:
        Constant Field Values
    • Constructor Detail

      • UploadAction

        public UploadAction()