title: Is StreamingOutput in Jersey buffered?
body: <p>I have two questions regarding StreamingOutput in Jersey:</p>
  
  <p>1) Is it already buffered by the jax-rs runtime? I have seen some examples that create BufferedWriter from the OutputStream object when overriding the write() method. But I wonder if that is really necessary.</p>
  
  <p>2) Does Jersey or the jax-rs runtime for that matter close the OutputStream object after the stream is finished? </p>
  
  <p>Thanks,</p>
  
  <p>Geg</p>