Hi devs,
I'm developping a web application on GAE and locally running it on a
jetty server provided by the eclipse plugin.
Everything goes pretty well except that all POST parameters are not
injected in a MultivaluedMap as mentionned in the code. Thanks to Jakub
and John for the tips that makes it work.
Then I tried to get all parameters from a PUT request in the same
manner with no results.
So I had a look into the code and now I have some questions:
1 - Can we use the @FormParam for parameters from a PUT request as POST
and PUT methods are similar? I didn't find anything in the spec or
nothing is mentioned.
2 - If the annotation is also aimed for PUT parameters, I think that
there is at least one bug for my dev environnement. The method
WebComponent.filterFormParameters(HttpServletRequest, ContainerRequest)
is only applied for POST methods.
I checkout the trunk sources and the "possible" bug is still there.
I would like to provide patches for code and tests but not sure of the
direction to give, for example should all the parameters be injected in
a MultivaluedMap.
Thanks for yours feedbacks and advices.