title: Is is necessary to close the input stream returned from HttpServletRequest?
body: <p>I've got some production code that does something like:</p>
  
  <pre><code>HttpServletRequest httpServletRequest
  ...
  DataInputStream dis = new DataInputStream(httpServletRequest.getInputStream())
  </code></pre>
  
  <p>These streams are never closed explicitly. I'm assuming here that the servlet container manages this (JBOss Web). What is the correct way to handle this?</p>