content: package com.alipay.antbenchmark.controller.cases.modificationAbility.requestBody;
  import org.slf4j.Logger;
  import org.slf4j.LoggerFactory;
  import org.springframework.stereotype.Controller;
  import org.springframework.web.bind.annotation.RequestMapping;
  import org.springframework.web.bind.annotation.RequestMethod;
  import org.springframework.web.bind.annotation.ResponseBody;
  
  import javax.servlet.ServletException;
  import javax.servlet.http.HttpServlet;
  import javax.servlet.http.HttpServletRequest;
  import javax.servlet.http.HttpServletResponse;
  import java.io.BufferedReader;
  import java.io.IOException;
  import java.io.InputStreamReader;
  
  // assession information start
  // real vulnerability = false
  // bind_url = /deserialization/BS00058
  // assession information end
  
  
  @Controller
  @RequestMapping(value="/deserialization")
  public class BodyJsonValue_02 extends HttpServlet {
  
      private static final Logger log = LoggerFactory.getLogger("BodyJsonValue_02");
  
  
      @ResponseBody
      @RequestMapping(value="/BS00058",method = {RequestMethod.POST, RequestMethod.GET})
      public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
          response.setContentType("text/plain;charset=UTF-8");
          try{
              BufferedReader streamreader = new BufferedReader(new InputStreamReader(request.getInputStream(),"UTF-8"));
              StringBuilder responseStrBuilder = new StringBuilder();
              String inputStr;
              while ((inputStr = streamreader.readLine()) != null) {
                  responseStrBuilder.append(inputStr);
              }
              response.getWriter().println(responseStrBuilder);
          } catch (Exception e){
              log.error("doPost error. Exception :{}", e.getMessage());
          }
  
      }
  }
  