| Constructor and Description |
|---|
ServerSentEventsResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMessage(String message) |
void |
close() |
org.glassfish.jersey.media.sse.EventOutput |
getMessageQueue() |
org.glassfish.jersey.media.sse.EventOutput |
startDomain(String id) |
@GET @Produces(value="text/event-stream") public org.glassfish.jersey.media.sse.EventOutput getMessageQueue()
@POST public void addMessage(String message) throws IOException
IOException@DELETE public void close() throws IOException
IOExceptionCopyright © 2007-2019, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.