Author: NicoNes <nicolas.nesmon(a)gmail.com>
Date: 2018-03-05 (Mon, 05 Mar 2018)
Resteasy 1793: SseBroadcasterImpl does not follow the javadoc requirements (#1395)
* Once the SseBroadcaster is closed, subsequent calls have no effect and are ignored.
invoking any other method on the broadcaster instance would result in an
IllegalStateException being thrown
* Notify close listeners if the SSE event output has been closed (either by client closing
the connection (IOException) or by calling SseEventSink.close() (IllegalStateException)
on the server side.
* Add lock mechanism to prevent leaks due to event sink never closed.
* Remove second send(...) method