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

The multipart/form-data should not require the user to add a @MultipartConfig on the application

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 6.2.8.Final, 7.0.0.Alpha1
    • None
    • None
    • None

      Currently when you want to use a multipart/form-data client call outside of a container, e.g. SeBootstrap, you must annotate the application with jakarta.servlet.annotation.MultipartConfig. While this could be useful in some cases where we might want to configure multipart data, it should be required.

      Also while looking at this, in a CDI container the getAnnotation(MultipartConfig.class) will return null because the application will be a CDI bean.

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: