when I have a method in Jersey that listens for a POST request, and when I have an InputStream as an argument in the method from which I want to get data, I need to close this InputStream or will control Jersey
I did not find any information about this. I read RESTful Java with JAX-RS 2.0 a while ago, and I don't remember if that was mentioned. Now, looking through it, I found some code examples, and the stream is not closed. I would think that this is not necessary, but I would like to ask.
inputstream jersey jax-rs
nomve
source share