code: public static <T> T requestParamaterToObject(NativeWebRequest req, Class<T> c) {
          return requestParamaterToObject((HttpServletRequest) req.getNativeRequest(), c, "UTF-8");
      }
docs: Request paramater to object t.
  
  @param <T> the type parameter
  @param req the req
  @param c   the c
  @return the t