Package | Description |
---|---|
org.glassfish.jersey.media.sse |
Support for Server Sent events in Jersey.
|
Modifier and Type | Class and Description |
---|---|
class |
EventSource
Client for reading and processing
incoming Server-Sent Events . |
Modifier and Type | Method and Description |
---|---|
void |
EventSource.register(EventListener listener)
Register new
event listener to receive all streamed SSE events . |
void |
EventSource.register(EventListener listener,
String eventName,
String... eventNames)
Add name-bound
event listener which will be called only for incoming SSE
events whose name is equal to the specified
name(s). |
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.