Class S3DownloadAction

  • All Implemented Interfaces:
    java.lang.Comparable

    public class S3DownloadAction
    extends io.inversion.Action
    Accepts RQL parameters and responds with json or files to the client. Special request parameters used by the GET handler: 'download' attempts to download the specified key. 'marker' determines where paging should begin

    Supports simple RQL functions: eq,sw

    TODO it would be awesome if a user could request several files to be downloaded. The files would be zipped and returned to the client. A zip would be named either 'files.zip' for various files, or 'sw_x_files.zip' where files that 'start with' x are zipped.

    TODO what to do about buckets containing '.'s within the name? ex: Missing parent for map compression: api.collections.s3db_files.liftck.coms Missing parent for map compression: api.collections.s3db_static-pages.liftck.coms Missing parent for map compression: s3db.tables.files.liftck.com Missing parent for map compression: s3db.tables.static-pages.liftck.com

    Mar 6, 2019 - If a json body is received, it is expected that a meta update should occur. If a multipart form is received, it is expected that a binary file was sent and possibly json

    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.inversion.Rule

        io.inversion.Rule.RuleMatcher
    • Field Summary

      • Fields inherited from class io.inversion.Rule

        ALL_METHODS, configMap, description, excludeMatchers, excludeOn, includeMatchers, includeOn, log, name, order, params
    • Method Summary

      • Methods inherited from class io.inversion.Action

        configureOp, doDelete, doGet, doPatch, doPost, doPut, getFullIncludePaths, getIncludePaths, isDecoration, joinPaths, joinPaths0, run, run0, withDecoration
      • Methods inherited from class io.inversion.Rule

        afterWiringComplete, checkLazyConfig, compareTo, doLazyConfig, getAllExcludePaths, getAllIncludeMethods, getAllIncludePaths, getDefaultIncludeMatchers, getDescription, getExcludeMatchers, getIncludeMatchers, getName, getOrder, getParams, match, match, matches, matches, toString, withDescription, withExcludeOn, withExcludeOn, withIncludeOn, withIncludeOn, withName, withOrder, withParam, withParams
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • S3DownloadAction

        public S3DownloadAction()