在拦截器里面读取了流之后,也重写了HttpServletRequestWrapper的方法,正常的get请求与post json请求的参数,在controller层都是能正常获取到的,但是,用x-www-form-urlencoded提交的数据,用request.getParameterMap();一直接收不到,用@RequestBody和@RequestParam也接收不到,这是怎么回事?怎么解决?
在拦截器里面读取了流之后,也重写了HttpServletRequestWrapper的方法,正常的get请求与post json请求的参数,在controller层都是能正常获取到的,但是,用x-www-form-urlencoded提交的数据,用request.getParameterMap();一直接收不到,用@RequestBody和@RequestParam也接收不到,这是怎么回事?怎么解决?