I have a controller method which should return some data. I'm wondering why despite it's GET and marked with @ResponseBody it's void.
@ResponseBody    
@RequestMapping(value = "/{id}/data", method = GET)
public void getData(....) { // < Question: how it can be void?
  ....
  dataService.streamData(query); // < this method is also void
}
Question: What spring returns in this case? Is this method useless?
 
     
    