I have a rest controller that responds to a StreamResponseBody and I write information in the pause with some seconds x, and so on until I finish all the information, and I want to consume it with angular with http get (). subscribe ((response) = > { // response < ---- actions with the stream // Here is the problem });
The problem is that I can not really read the stream as written in it, but I can only use the information, until my controller has finished writing all the information in the stream. So I would like to know if anyone knows a method to consume the stream as information is written in it.