title: Is it possible in Java to return the 401 Unauthorized response code explicitly
body: <p>I am working on a web service. I want to return the <code>401: Unauthorized</code> response to the user for invalid credentials.</p>
  
  <p>How do I manually return this response code?</p>