| Package | Description |
|---|---|
| javax.ws.rs.sse |
| Modifier and Type | Method and Description |
|---|---|
SseEventOutput |
SseContext.newOutput()
Create new SSE event output stream that will represent a single client connection for a connecting client.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SseBroadcaster.Listener.onClose(SseEventOutput output)
Called when the SSE event output has been closed (either by client closing the connection or by calling
Closeable.close() on the server side. |
void |
SseBroadcaster.Listener.onException(SseEventOutput output,
Exception exception)
Called when exception was thrown by a given SSE event output when trying to write to it or close it.
|
boolean |
SseBroadcaster.register(SseEventOutput output)
Register
SseEventOutput to this SseBroadcaster instance. |
Copyright © 1996-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.