楼主可以直接
req.getReader();后直接解析上来的输入流,解析出operation 和 实际提交的业务参数

解决方案 »

  1.   

    getReader()看sdk说“Retrieves the body of the request as character data using a BufferedReader”,也能获得HTTP的header作为流的一部分么
      

  2.   

    我也遇到相同的问题了。但是找到了解决方法。在提交是,在header中设置合适的content-type:
     "Content-Type": "application/x- www-form-urlencoded"
    注意:那里有一个空格。 不是"application/x-www-form-urlencoded"。只有带空格的才可以工作。