How can I read request body multiple times in Spring 'HandlerMethodArgumentResolver'?
<p>I'm trying to resolve some certain parameters of <code>RequestMapping</code> methods, to extract values from request body and validates them and inject them into certain annotated parameters.</p>

<pre><code>@Override
public Object resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer,
                              NativeWebRequest webRequest, WebDataBinderFactory binderFactory) throws Exception {
    // 1, get corresponding input parameter from NativeWebRequest
    // 2, validate
    // 3, type convertion and assemble value to return
    return null;
}
</code></pre>

<p>The biggest problem is that I find out that <code>HttpServletRequest</code>(get from <code>NativeWebRequest</code>) cannot read input stream(some parameters are in the request body) <strong>more than one time</strong>. So how can I retrieve <code>Inputstream</code>/<code>Reader</code> or the request body more than one time?</p>