-
Feature Request
-
Resolution: Done
-
Major
-
2.3.5.Final
-
None
Currently (2.3.5.Final) support new usage of @Form with List and Map as supported type:
public static class Person { @Form(prefix="telephoneNumbers") List<TelephoneNumber> telephoneNumbers; @Form(prefix="address") Map<String, Address> addresses; } ... request.addFormHeader("telephoneNumbers[0].countryCode", "31"); request.addFormHeader("telephoneNumbers[0].number", "0612345678"); request.addFormHeader("telephoneNumbers[1].countryCode", "91"); request.addFormHeader("telephoneNumbers[1].number", "9717738723"); request.addFormHeader("address[INVOICE].street", "Main Street"); request.addFormHeader("address[INVOICE].houseNumber", "2"); request.addFormHeader("address[SHIPPING].street", "Square One"); request.addFormHeader("address[SHIPPING].houseNumber", "13");
But RESTEasy JS-API has not been upgraded to support this feature. It needs to be implemented.
- relates to
-
RESTEASY-805 @Form does not inject map properties with non-alphabetic keys
- Closed