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

@Consumes(MediaType.APPLICATION_FORM_URLENCODED) MultivaluedMap<String, String> form did not work in RESTEasy JAX-RS 3.0.4.Final

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 3.0.3.Final
    • jaxrs
    • None
    • Linux Debian

      @Consumes(MediaType.APPLICATION_FORM_URLENCODED) did not work with RESTEasy JAX-RS 3.0.4.Final but the form variable was empty. @FormParam works.

      The following interface change made it work:

      @Consumes(MediaType.APPLICATION_FORM_URLENCODED)
      public abstract StatusElement lockRunsForTrips(MultivaluedMap<String, String> form);

      to

      public abstract StatusElement lockRunsForTrips(@FormParam("run_id") List<String> runIdStrings);

              rsigal@redhat.com Ronald Sigal
              mattil_jira Matti Linnanvuori (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: