Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 9. @FormParam
When the input request body is of the type
application/x-www-form-urlencoded
(that is, an HTML form), you can inject individual form parameters from the request body into method parameter values.
If you post using this form, the service would look as follows:
You cannot combine
@FormParam
with the default application/x-www-form-urlencoded
that unmarshalls to a MultivaluedMap<String, String>
That is, the following would be illegal: