Details
Description
class MyForm {
String name;
Integer[] vals;
}
//----------------------------
@PUT
@Path("test")
@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
void test(@FormParam("") MyForm frm);
//----------------------------
frm.name="blabla";
frm.vals=new Integer[]
;
service.test(frm);
//----------------------------
expected POST entity body:
name=blabla&vals=1&vals=2
but actual entity body:
name=blabla&vals=[Ljava.lang.Integer;@16554210