when I have a method in Jersey that listens to a POST request, and when I have an InputStream as an argument in the method from which I want to get the data, do I need to close this InputStream or will Jersey handle this?
I haven't found any info on it. I had read RESTful Java with JAX-RS 2.0 a while back, and I don't remember if it was mentioned. Skimming through it now, I found several code examples, and the stream is not closed. I would think it's not necessary, but wanted to ask.