title: Spring sending 401 HTTP response via Controller
body: <p>Lets say i have a Controller like this one :</p>
  
  <pre><code>@RequestMapping(method=RequestMethod.GET, value="/error")
      public  void getresponse(ModelMap modelMap) {
  
  modelMap.addAttribute("categories", "");
  }
  </code></pre>
  
  <p>Is it possible to send a 401 HTTP error when this controller is called? If yes, how ?</p>