Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-233

Consider using mime4j for mime message parsing in multipart provider

    XMLWordPrintable

Details

    Description

      Current multipart provider stores the whole request in memory which is not good if one has to process large requests. Instead of writing an own temporary storage functionality I suggest using mime4j which already has this. Also makes parsing a lot easier because it does it alone.

      The provided patch modifies the multipart provider to build upon mime4j. I run the resteasy tests for multipart provider they succeed with the new implementation.

      mime4j - http://james.apache.org/mime4j/
      mime4j apidocs - http://james.apache.org/mime4j/apidocs/

      Attachments

        Activity

          People

            Unassigned Unassigned
            akiraly Attila Király (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: