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

Consider using mime4j for mime message parsing in multipart provider

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Done
    • Icon: Major Major
    • 1.1.GA
    • 1.1.RC1
    • jaxrs
    • java 6, tomcat 6, resteasy 1.1.RC1, spring 2.5.6 (resteasy used with spring mvc integration) , mime4j 0.6

      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/

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

                Created:
                Updated:
                Resolved: