Jersey: Consume all POST data into one object

前端 未结 2 1634
被撕碎了的回忆
被撕碎了的回忆 2021-01-06 00:14

I am using Jersey 1.8 in my application. I am trying to consume POST data at the server. The data is of the type application/x-www-form-urlencoded.

2条回答
  •  情深已故
    2021-01-06 00:18

    For cases where the Content-Type is multipart/form-data, this MultivaluedMap approach won't work.

    Use FormDataMultiPart - docs here.

提交回复
热议问题