1 Reply Latest reply on Oct 16, 2013 5:48 AM by Tomaz Cerar

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

    Matti Linnanvuori Newbie

      @Consumes(MediaType.APPLICATION_FORM_URLENCODED) did not work with RESTEasy JAX-RS 3.0.2.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);

       

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