Jersey SSE client is not receiving events
问题 I have written a rudimentary Java application to consume SSE (server-sent events) streamed from a Node.js server, using the Jersey SSE client. However, I am unable to receive the events. To verify the server component is working as expected, I used the curl as follows: curl -v -H "Accept: text/event-stream" http://localhost:8080/events/ I get the following response: * Trying ::1... * Connected to localhost (::1) port 8080 (#0) > GET /events/ HTTP/1.1 > Host: localhost:8080 > User-Agent: curl