title: Spring boot rest controller not converting request body to custom object
body: <p>I have spring boot application which used spring rest controller . 
   This is the controller , below is the response an getting. Am using postman tool for sending request to this controller. And am sending content type as application/json </p>
  
  <pre><code>    @RequestMapping(value = "/test", method = RequestMethod.POST)
  public String test(@RequestBody WebApp webapp, @RequestBody String propertyFiles, @RequestBody String) {
      System.out.println("webapp :"+webapp);
      System.out.println("propertyFiles :"+propertyFiles);
      System.out.println("propertyText :"+propertyText);
  
      return "ok good";
  }
  </code></pre>
  
  <p>2018-03-21 12:18:47.732  WARN 8520 --- [nio-8099-exec-3] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved exception caused by Handler execution: org.springframework.http.converter.HttpMessageNotReadableException: I/O error while reading input message; nested exception is java.io.IOException: Stream closed</p>
  
  <p>This is my postman request </p>
  
  <pre><code>{
  "webapp":{"webappName":"cavion17","path":"ud1","isQA":true},
  "propertyFiles":"vchannel",
  "propertytText":"demo property"}
  </code></pre>
  
  <p>I tried by removing the RequestBody annotation, then able to hit the service , but param objects are received as null.</p>
  
  <p>So please suggest how to retrieve objects in the restcontroller?</p>