glassfish
  1. glassfish
  2. GLASSFISH-5169

Consider using Apache commons HttpClient and FileUpload to handle multiple file uploads

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: V3
    • Fix Version/s: not determined
    • Component/s: deployment
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      5,169
    • Status Whiteboard:
      Hide

      gfv3-prelude-included

      Show
      gfv3-prelude-included

      Description

      The current implementation for uploading multiple files in a single (deployment)
      request creates a ZipEntry for each file to be uploaded and writes a
      ZipOutputStream into the outbound http request containing those ZipEntry
      objects. The AdminAdapter then extracts those uploaded files into temp files on
      the server.

      A more standards-friendly way to do this would be to use multipart/mixed POST
      https requests. The Apache HttpClient and FileUpload projects would make doing
      it that way pretty simple.

      This looks like it would require splitting the current
      distributions/external/apache-commons module into at least two, one for the
      client side and one for the server side (to avoid requiring things on the client
      side that are not needed) and adding HttpClient and FileUpload.

      Because the multifile upload is currently working, this is a relatively low
      priority and can be deferred until a future release of v3.

        Activity

        Hide
        Tim Quinn added a comment -

        This should not require too much work but it's lower priority than some other
        things right now. Also will take some discussion to agree on splitting the
        distributions/external/apache-commons into two pieces: client-side and server-side.

        Show
        Tim Quinn added a comment - This should not require too much work but it's lower priority than some other things right now. Also will take some discussion to agree on splitting the distributions/external/apache-commons into two pieces: client-side and server-side.
        Hide
        kumara added a comment -

        Add gfv3-prelude-include to status whiteboard

        Show
        kumara added a comment - Add gfv3-prelude-include to status whiteboard
        Hide
        kumara added a comment -

        v3 defect tracking

        Show
        kumara added a comment - v3 defect tracking
        Hide
        Tim Quinn added a comment -

        Changing to enhancement request.

        Show
        Tim Quinn added a comment - Changing to enhancement request.
        Hide
        Tom Mueller added a comment -

        Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

        Show
        Tom Mueller added a comment - Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

          People

          • Assignee:
            Tim Quinn
            Reporter:
            Tim Quinn
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: