code: public static HttpServletRequest getEncodingRequest(
              HttpServletRequest request)
              throws UnsupportedEncodingException {
          String method = request.getMethod();
          if (method.equalsIgnoreCase("post")) {
              return new EncodingPostRequest(request);
          } else if (method.equalsIgnoreCase("get")) {
              return new EncodingGetRequest(request);
          }
          return request;
      }
docs: 获取一个指定编码后的request，但只对POST和GET请求编码，其他请求则直接返回原始请求
  
  @param request 指定原始请求
  @return 返回已经编码的request
  @throws UnsupportedEncodingException 若不支持指定编码则抛出此异常